Add attribute support to the HDF file type

Created by: youngmit

The current HDF interface does not provide access to the attribute features of the HDF5 library/format. It would be nice to be able to add, at the very least, scalar key-value pairs as attributes to HDF5 datasets.