bibdocfile: fix for undefined docname in get_text

Signed-off-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
jsonalchemy: extension model fix

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
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>
annotations: JSON-LD publishing

* Add JSON-LD publishing utilities for annotations and RESTful API
  helpers.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
Data Analysis: Draft forms created