Review of mt pmemalloc test

Take quick look when you get a chance and let me know any comments.  This is a pthread-based pmemalloc test as a first step towards making the library mt-safe.
/Ken