Documentation fixes, bump version to 0.2.5
Add checks that HDF5 handle is valid