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>
base: user 'Login' and 'Register' button  addition

* Shows the 'Register' button if the value of
  'CFG_ACCESS_CONTROL_LEVEL_ACCOUNTS' is 0 or 1. (addresses #1943)

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>