test: fix util_pool_create running on tmpfs file system

Fix the util_pool_create unit test so that it does not fail
when running on the tmpfs file system.
vmem: unlock arena->lock when returning from READ/WRITE macros
Merge pull request #68 from ldorau/test-fix-util_pool_create

test: fix util_pool_create running on tmpfs file system
Merge pull request #69 from krzycz/vmem-arena_lock

vmem: unlock arena->lock when returning from READ/WRITE macros
vmem: add vmem_malloc_usable_size() to API
Merge pull request #70 from spawlows/vmem-add-malloc-usable-size

vmem: add vmem_malloc_usable_size() to API
vmem: fix freeing memory by iqalloct()

In case of huge pages iqalloct() calls huge_dalloc() for the pool #0
(src/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in:834),
but huge_dalloc() should be called with the pool 'arena->pool'
as an argument in functions huge_ralloc(), arena_ralloc()
and iralloct_realign().

Add two functions: pool_iqalloct() and pool_idalloct() in order
to be able to pass a 'pool' argument from pool_iqalloct()
to huge_dalloc().

Ref: pmem/issues#8
Merge pull request #72 from ldorau/vmem-fix-freeing-memory-by-iqalloct

vmem: fix freeing memory by iqalloct()
vmem: fix race condition between library constructors

Some applications need to create pool in constructor
called before constructor from vmem.