cpp: test: Set BIOFORMATS_SCHEMADIR when running tests
cpp: ome-xml: Automatically register schema catalogues
cmake: Generate wrapper to run programs in the build tree
Merge pull request #1454 from rleigh-dundee/cpp-metadata2

C++: Autoload schema catalogues and set up environment for tests