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>
deposit: refactor of metadata processing

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
deposit: removal of wrong article id mapping

* Article ID should not be arXiv id, it should be the ID inside of the
  journal.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: addition of ArXiv ID form field

* Replaces arXiv id TextField by ArXivField and adds input validation.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: addition of ISBN form field

* Replaces ISBN TextField by ISBNField and adds input validation.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
deposit: fillform.js cleanup

* Wraps form functionality into a prototype-based class.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: change of hiding method of hidden fields

* Uses HiddenInput widget in forms.py, and hides
  all leftovers generic using class based jQuery
  selector in fillform.js.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>