Write attributes on streams
Created by: dominikwerder
Closes #77 (closed).
File writer modules can use write_attributes_if_present
to attach the attributes given in the JSON stream specification to an HDF object associated with the stream, e.g. the containing group.
New test verifies that the attribute is written.