BibIngest: new module to handle document ingestion

* Introduces a new module 'BibIngest' that handles document ingestion for
  Invenio. The module provides the basic CRUD functions: create, read, update
  and delete.

* Allows for multiple ingestion packages types and storage engines to be
  defined as plugins.

* A configuration file is provided where combinations of ingestion packages
  and storage engines can be defined per collection along with specific
  settings for each case.

Conflicts:
	configure.ac
	modules/Makefile.am
BibIngest: move module to legacy folder

Signed-off-by: Esteban J. G. Gabancho <egabancho@gmail.com>
workflows: change default XSLT

* Changes the XSLT parameter in the example workflow
  "full_doc_process".

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
installation: Python 2.6 on Travis CI

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
Reviewed-by: Jiří Kunčar <jiri.kuncar@cern.ch>
installation: Flask-Collect to use 0.2.3-dev

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
Reviewed-by: Jiří Kunčar <jiri.kuncar@cern.ch>
access: using unittest2 in Python 2.6

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
Reviewed-by: Jiří Kunčar <jiri.kuncar@cern.ch>
workflows: Python 2.6 compatibility

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
Reviewed-by: Jiří Kunčar <jiri.kuncar@cern.ch>
docs: new documentation structure

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
base: wrapper doctest addition

* Adds doctests for `invenio.base.wrappers` that can be executed from
  source code folder: `python -m doctest -v invenio/base/wrappers.py`

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
jsonalchemy: enhance extension parser behavior

* One extension could be either a importable string pointing to a class
  object or a function call that returns a class object.

* The extensions are now listed as quoted strings, either single quotes
  or double quotes due to some limitations of pyparsing.

Signed-off-by: Esteban J. G. Gabancho <egabancho@gmail.com>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
deposit: SHERPA/RoMEO removal

* Removes SHERPA/RoMEO filters.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
deposit: simple record deposition

* Adds initial deposition type for uploading records
  that other depositions may inherit from.

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
deposit: deposition type refactoring

* Moves article deposition to demosite.

* Removes photo, poetry, preprint and thesis depositions.

* Fixes minor issues in templates.

* Fixes some PEP8 issues.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
deposit: record merge customization

* Adds option to override default merging of deposition into a record
  after editing.

* Renames variables to improve readability of merge_record task.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
deposit: SIP upload check improvement

* Adds method for checking if a record SIP has been uploaded.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
communities: pagination fix

* Ensures page variable is always a positive integer.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
BibUpload: legacy import fix

* Fixes wrong legacy import.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
BibKnowledge: translation string fix

* Fixes issue in translation string.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
formatter: BibTex Jinja2 format template

* Converts the old BibFormat template for BibTeX into a
  Jinja2 template.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
formatter: error pass-through

* Reraises any errors happening during formatting when in debug mode.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>