Catalog metadata additions

This pull requests adds a new tab to the admin interface to enable user-friendly maintenance of metadata documents. 

It also contains a few bugfixes in the metadata manager. The metadata manager is the component that updates the revision date in the metadata documents when the data is updated.