installation: Flask-DebugToolbar Python 3 friendly

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
script: Python 3 compatibility fixes

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: six iteritems usage

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: exception syntax fix for Python 3

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: print function usage
global: os mask fixes

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: import fixes
global: urlparse import fix
global: six string_types usage

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
i18n: Babel usage

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
helpers: fix six string and text type

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: html entities import fixes

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: `has_key` to `in` operator fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
login: fix uid comparison with `None` value

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
travis: enabling apache version module

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
previewer: PDFtk previewer

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotations: initial commit

* Allow annotating any page.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotations: file attachments skeleton

* Can be enabled via the ANNOTATIONS_ATTACHMENTS configuration
  parameter.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
annotations: record document annotations

* Add infrastructure for adding targeted notes on records (e.g., on pages,
figures).

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
comments: annotations integration

* Integrates the record document annotations with the Invenio commenting
  facilities and PDFtk previewer.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>