deposit: duplicate validator with prod inspirehep

* Queries inspirehep.net to check if a submited publication is
  already in the production db.

* Introduces PRODUCTION_MODE variable which enables cooperation with
  inspirehep.net server.

* NOTE Set PRODUCTION_MODE=True in your config to use the validator.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: loading indicator for conferences typeahead

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: conferences id value synchronization

* Syncronizes value of the hidden conference_id field with the id
  from conferences field.

* Adds SychronizedField class which can be reused to do this.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: conferences autocomplete tuninng

* Autocomplete fetching starts after 3 characters.

* Passes all items from ajax request up to 100.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: scrollbar for typeahead dropdowns

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
global: enable of jasmine in configuration

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
base: jquery-plugin creator adapted to requirejs

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

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

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: fix for empty conferences suggestions

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
conferences validator
fixes for typeahead reset on blur and undefined values on keypress
value sychronization improvements