improve metadata REST api

- implement a context parameter. Setting it to "edit" returns the raw
  metadatum
- otherwise the metadata return only the description for the current language