shmemallocator unit test

Call "shmemallocator_ut -h" for usage.
