HDF5: remove remaining swap methods

Remove swap mathods in back-end entities:

- fixes  #321
- moved some methods to source files
Block.hpp: export operator<<

Export output operator to external api
Dimension: make dimension getter work in ro mode
Merge pull request #338 from stoewer/remove-swap

A couple of small fixes

Nice!