HDF5: Fixed more mem-leaks.
HDF5: More intuitive API, improved testsuite.