testsuite: python 2.6 fix

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

* Cleanups Flask application factory to make application
  assembly more clear.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
base: package order aware template loading

* Adds Jinja2 template loader that respect template loading
  order according to the PACKAGES configuration. This is needed
  for overlays like Inspire and Zenodo to customize e.g.
  'page.html'.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
template: tests for template order loading

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
session: fixes login when no cache backend exists

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

* Bumps MySQL-python and beautifulsoup4 to newer versions.

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

* Renames page.html to page_base.html and creates new page.html
  to allow overriding of main page template on a Invenio instance.
requirements: broken pypi links fix

* Packages removed from pypi have now direct links; this is only a temporary
solution.

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

Conflicts:
	requirements.txt
installation: plupload download link fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
intbitset: usage of separate package
base: css and js Jinja blocks in base template

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
general: porting modules and extra requirements

* Ports BibAuthority module and BibIndex tokenizers.

* Allows user to install Invenio with optional dependencies using
  `extras_requires` option in `setup.py`.
  NOTE: you can use `pip install -e .[dev]`

* Adds *.kb to MANIFEST.in.

Reported-by: Guillaume Lastecoueres <guillaume.lastecoueres@cern.ch>
Co-authored-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
general: migration to Twitter Bootstrap 3

* Search bar migration and improvements.

* Fixed different padding at different window widths.

* Moves css fom page.html, header.html to base.css.

* Replaces icons with glyphicons.

* Add To Search form converted from dropdown to collapsable.

* Typeahead for search field and Add To Search form.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
installation: Grunt for js and css libraries

* Supports path and targets options.
general: fixes for imports and trailing spaces

* Fixes 404 handler.

* Renames module rank to ranker.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
general: Boostrap 3 style for search results page
demosite: removal

* Invenio demosite is now available as separate package at
  <https://github.com/inveniosoftware/invenio-demosite>.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
record_editor: HstRECORD affected_field no default value
logging: fix config lookup
config: fix set/update of list and dict types