Add MemoryVerifier to enable memory leak checking in unit-tests and add an initial test which verifies some things for XSSF