babel: translation loading from PACKAGES

* Adds lookup for '/translations' directory inside defined `PACKAGES` in
  order to support custom translation strings.  (addresses #828)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
babel: setuptools integration

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
encoder: fix encoding of websubmit.js

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
installation: automatic catalog compilation

* Adds automatic catalog compilation before build and installation
  command.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
deposit: fix for translated labels

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
arxiv: response code addition

* Avoids an error if a response message is not mapped with an HTTP
  code and returns original response status code.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
records: fix for MarcXML indentation on creation

* Makes MarcXML more readable and properly indented.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: dynamic PEP440 version number

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: Invenio 1.9999.1.dev

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
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: 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>