added gamma code based gap file decoder
fixed bug in SynchronousGenericOutput (counter for number of written entities was left uninitialised)
simplify zblock structure
add merging for gamma encoded gap files