deposit: removal of unused argument in form js

Signed-off-by: Kamil Wieslaw Neczaj <kamil.neczaj@cern.ch>
deposit: duplicate validator with prod inspirehep

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

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: fix for validation before import.

* Improves TaskManager to use deferred objects better.

* Adds validate() function making a server-side validation
  in backgroung.

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