deposit: data source concept

* Separates data sources as a plugable objects
  for deposit import.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: importer name change to task_manager

* Small changes to import related JS code.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
grunt: support for JS beautifier

NOTE: run $npm install and $grunt jsbeautifier

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: beautify JS files

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: fixes for JSHint errors

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
grunt: extra jshint checks

* Adds indent and newcap jshint checks.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
bower: URLs change to git:// protocol

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
deposit: autocomplete journal titles

* NOTE: expects KB dynamic_journal_titles.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: autocomplete experiments

* NOTE: expects KB dynamic_experiments.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: placeholders for autocomplete

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: fixes to fillform arXiv import

* Updates fields regarding the new OAI2 import API.

* Imports arXiv comments field onto note hidden field.

* Adds license url field if it's present in arXiv import.

* Strips created field imported from arXiv and year field imported from
  Crossref to Journal Information's YYYY year form field.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
deposit: arXiv/DOI priority change

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
config: ARXIV_API_URL removal

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: ArXiv -> arXiv rename

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: conference and proceedings info both in 500 field

* The conference information goes in one 500 field and the proceedings
  information in another 500 field.

* Temporary solution until we do a fancy conference lookup widget: we
  rename 'Conference name' to 'Conference information' and inside a
  placeholder: 'Conference name, acronym, place, date'.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: define 980__a value based on form information

* Depending on which information in the form is filled and what
  document type selected we should add different 980__a values.

* Adds 980__a:conferencePaper if conference information is given.

* Add 980__a:Published if journal info is given but no conference info.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: import button fix feedback

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: task management refactor

* Simplifies code related to multiple tasks and deferred objects.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: import message improvement

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: collapse show state with Chevron icons

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>