global: dynamic version fix

* Fixes the cases where the call is made from outside a git repository.
  (Closes #2001)

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
Reported-by: Jan Åge Lavik <jan.age.lavik@cern.ch>
deposit: saner deposit/form.js

* Refactors form.js into an AMD module.

* Factors out all the useful templates in proper mustache files.

* Converts to string the simpler templates.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
deposit: fieldlist plugin separation

* Renames fieldlist plugin to dynamicFieldList.

* Moves the plugin to dynamic_field_list.js.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Co-authored-by: Yoan Blanc <yoan.blanc@cern.ch>
deposit: wrapping DynamicFieldList into a class

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Co-authored-by: Yoan Blanc <yoan.blanc@cern.ch>
deposit: form page customization

* Increases customization in the form page by adding new blocks and
  spliting the form itself onto a new file.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
assets: smarter bower command

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
docs: almost gruntless world

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: jquery-ui paths

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: json2 and jquery.hotkeys into bundles

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: jquery.treeview into bundles

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: swfobject into bundles

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: uploadify into bundles

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: (jquery-)flot into bundles

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: prism into bundles

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: jquery-migrate into bundles

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: jquery.bookmark into bundles

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: jquery.ajaxPager out of bower

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: bootstrap-switch removal

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: bootstrap-tagsinput into bundles

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: jquery-multifile into bundles

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>