Fix original metadata retrieval

Without this change, calls to getOriginalMetadata(...) will return a
Hashtable of size 0 when the XMLAnnotations are instances of
OriginalMetadataAnnotation.
Add test class for the OMEXMLService