Added the getAllObjects() method to the OMR instances, which gets all ObjectMetadata for the repository.

Implemented some of the API methods for the ObjectMetadataResource.