cleaner version of refactoring with fields added to LayerConnection
(which retains an optional V0LayerParameter field for legacy support)
and LayerConnection renamed to LayerParameter
add support for hdf5 output layer