Udma Resmgr unit test

Call "udma_resmgr_ut -h" for usage.
