Fix ALV-733
Make view-metadata and edit-metadata pages site ones.
It fixes also wrong file destinations when uploading to registries from edit-metadata page.