Make template wrapping optional

adjusted the template wrapping so that:

* wrapping a creator parameter in a creator template is optional.
* reversing last name, first name of the creator value is optional.
* wrapping the institution value in an institution template is optional.
* wrapping of elements using lang= in a language template is optional.
* detecting and creating a permission template is optional.
* a global permission can be used instead of a metadata value.

* added new i18n messages
* added new form fields
* adjusted logic accordingly

Bug: 64060
Bug: 65248

Change-Id: Ia5f7f54f17c19f7373cc264eee5329565d585f54
Merge "Make template wrapping optional"