new HDF5 functions and minor bugfixes

I have added some useful HDF5 functions, i.e. it is possible to look up if an object of specific type exists. I also fixed minor bugs which mainly affected file traversal.