New metadata form elements added (multiselect and input with cardinality...

... option). Fixes issues #204 and #161.