cpp: bioformats: Move MetadataMap ostream operators into std namespace

Needed by gtest for clang++ on MacOS X which doesn't appear to support
ADL properly like GCC on Linux.  We need to override the boost::variant
ostream for our type or else gtest tries to use it and then it fails
horribly.
cpp: test: Fix compiler warnings and errors for metadatamap