Add hdf5 tests.
Automatic style corrections courtesy of autopep8.
Revert file format back to 1.1 not to break compatibility with HyperSpy 0.6.