OutputFile: add addMetadata

Can add metadata from a map or from key / value.
Merge pull request #52 from cchampet/dev_addMetadata

OutputFile: add addMetadata