vmem: implementation of vmem_check()

Validate pool consistency.
Detect: wrong data in header, not zeroed values inside zeroed pages,
data structures from outside of memory region, conflict memory region between pools.
These includes will go away when you make the changes to vmem.c due to my other comments...