formatter: 'recjson' format addition

* Adds general implementation of 'recjson' using formatter engine.
  (addresses #1908)

* Adds an upgrader recipe for the new output format.

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
deposit: base template refactoring fix

* Fixes unneeded base of base template introduced in
  461039d109480d5988b4b8d820fdd529a4a44756.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
deposit: refactoring bug fixes

* Fixes several JavaScript issues introduced during refactoring of assets
  as well as dynamic field lists.

* Fixes tag template issue in field lists.

* Fixes issue when appending new elements to field lists.

* Fixes typo in message variable names.

* Fixes uninitialized variables due to strict mode.

* Removes Invenio CKEditor configuration as this is configured by each
  textarea field in the data-ckeditor-config attribute.

* Adds SPAN-tag to whitelist of HTML-tags to support MathJax integration
  in CKEditor.

* NOTE Changes deposit/form.js module to export multiple methods.
  If your instance templates invokes 'form(configuration)' it must
  be changed to 'form.init(configuration)'.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>