metadata without incurring in metadata value loss.
Add modifying relationship of document type and metadata type
from the document type and from the metadata type views.
Closes GitLab issues #337#373.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>