Merge branch 'master' into next

* master:
  WebComment: escape review "title"
WebSearch: add bibdocs to record context
installation: initial upgrade recipe for next

* Create WebDeposit tables.
WebStyle: nice error page view decorator

* Add flask view decorator that will catch specific exceptions and
  render a nice error page for the end-user. The decorator is
  complementary to the normal Flask error handlers for 404 and 500
  HTTP errors.
WebStyle: customize Flask request class

* Adds InvenioRequest as the default Flask request class with methods
  to allow for easier Flaskification of legacy modules.
WebSession: port user registration to Flask

* Ported user registration view to Flask but moving register view from
  websession_webinterface to webaccount_blueprint and creating a new
  WTForm form with validation logic for user registration.

* Use email instead of nickname for login

* Fix issue in webuser when dealing with Flask generated legacy
  requests instead of proper legacy requests.

* FIXME Unauthorized access page not ported
WebDeposit: fix pre_validate method in fields

* Ensure pre_validate function signature matches that of WTForms.
  Already fixed by Kostas, so to be removed from next-op once new
  WebDeposit changes have been pushed and integrated into next-op.
WebStyle: install I18N Jinja2 extensions

* Load Jinja2 I18N extension.
WebStyle: fix bug in pageheader template

* Fixes a small issue which would case an exception when rendering
  certain pages.
WebSearch: fix python 2.4 syntax error

Tested-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
textutils: add ALA-LC transliteration

* Adds textutils methods for ALA-LC transliteration as described
  by http://www.loc.gov/catdir/cpso/roman.html (closes #1092).

Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
dataciteutils: DataCite DOI support and test cases

* Add miscutil module to connect to DataCite MDS

Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
BibFormat: add DataCite XSL stylesheet

* Adds XSL transformation from MARC XML to DataCite Metadata
  Schema v2.2 XML.

Tested-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
datacite: Refactoring of DataCite API wrapper

* Refactor DataCite API from function based to class based.

* Refactor HTTP connection to use urllib2 with special handling
  for SSLv3.

* Adds Media API functions.

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

Conflicts:
	modules/miscutil/lib/Makefile.am
importutils: adds Python 2.4 support and test case

* Add Python 2.4 support to importutils.

* Change from using glob to regular expression for
  module matching.

* Added test case.

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

Conflicts:
	modules/miscutil/lib/Makefile.am
celery: adds integration of Celery in Invenio

* Adds Celery support to Invenio by defining a custom Celery loader
  that will load tasks defined in invenio.*_tasks modules.

* Requires Python 2.5 and Celery 3.0.x
WebStyle: fix use of importutils

* importutils was changed to use regular expression instead of
  glob.
celery: adds Flask support

* Adds Flask support to Celery by ensuring that the Flask
  application and request context is set so tasks can make use
  of e.g. SQLAlchemy.

* Changed default result/task serializer from json to msgpack
  (requires Python 2.6+ due to msgpack).

* Changed default result store from RabbitMQ to Redis.