Added hdf5_handler to the bes modules build.

Also fixed issues in the gateway module test code and pushed
those to github.