assets: resolution of jquery to ~1.11

* Changes the jquery resolution to ~1.11 instead of <2 since it would
  pick jquery 1.7.2 as required by jquery.treeview. It solves the
  problem of jquery not being found at:
  `vendors/jquery/dist/jquery.js`

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
deposit: base version of form.html template

* Creates form_base.html to make possible ovewriting html blocks in
  an overlay.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
base: jquery-form loaded via require.js

* Changes the filters on the jquery bundle to be require.js so it can
  properly load library such as jquery-form.

* Renames legacy.js to init.js to match the naming choosen for search
  and deposit scripts.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
installation: Flask-Admin>1.0.8,<1.1

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
template: @template_args decorator addition

* Adds new decorator to allow overwritting template context functions by
  endpoint.  (closes #2009)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>