Added ability to have scalars read from HDF5 files.
Added protection against writing the same dataset with different paths.
Added unit test for new scalars functionality of data import.