common: fix few tests to work under bullseye

Fix execute tests under coverage tool bullseye:
-vmem_valgrind
-blk_nblock
-blk_rw
blk: check return value of pthread_mutex_unlock()
common: NVML renaming and library splitting

- rename typdefs: PMEMblkpool, PMEMlogpool, PMEMobjpool
- split libpmem into libpmem, libpmemblk, libpmemlog, libpmemobj
- rename trn => obj
- add benchmark building to make check target
- change functions _map() to _pool_open()
- update scope tests
- each library now has the environment variables:
    PMEM_LOG_{LEVEL,FILE}
    PMEMBLK_LOG_{LEVEL,FILE}
    PMEMLOG_LOG_{LEVEL,FILE}
    PMEMOBJ_LOG_{LEVEL,FILE}
- each library now has the *_check_version functions

[@andyrudoff made some additional changes to this commit:]
- remove superfluous nested includes
- remove extraneous comments (leftovers) in headers
- add calls to force library linking in traces_pmem unit test
Merge branch 'nvml-renaming'
pmem: interface cleanup

Drop flags argument from pmem_persist() and pmem_flush().
Add pmem_msync() for calling msync(), but passing in is_pmem
considered harmful -- that check is up to the caller.
pmem: updated man page with cleaned up API
pmem: add the memmove, memcpy, and memset variants

The non-temporal version isn't complete yet, so the normal
versions are used for now.
build: ensure ld can find libpmem during build
blk: add checking number and size of internal lbas in each arena
benchmarks: fix pread and pwrite

On some systems the pread and pwrite calls are not declared
due to lack of appropriate feature test macro.
Define __USE_UNIX98 before including unistd.h in order to turn on
pread and pwrite declarations.
Merge pull request #46 from plebioda/fix-pread-pwrite

benchmarks: fix pread and pwrite
Merge pull request #45 from ldorau/blk-check-return-value

blk: check return value of pthread_mutex_unlock()
Merge pull request #44 from tomaszkapela/pmemblk-fix-excessive-block-size

blk: add checking number and size of internal lbas in each arena
Merge pull request #37 from spawlows/fix-test-under-bullseye

common: fix few tests to work under bullseye
common: add NVML magic file

- create NVML magic script for file(1) command
- install NVML magic script with rpm and dpkg packages