deposit: edit button now shown fix

* Fixes Edit button not displayed.

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

* Improves error reporting for bibformat elements to include
  traceback in template when in debug mode, as well as using
  the Flask application logger to report the error.

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

* Refactors warnings reporting to use logging system by
  default.

* Adds best practice error handling documentation.

* Adds StreamHandler to warnings logger in debug mode.

* Unhides DeprecationWarning.

* Adds support for sending warnings to Sentry.

* Removes custom warnings wrapper.

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

* Fixes a deprecation warning.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
formatter: unicode decoding error fix

* Fixes unicode decoding error in bfe_keyword bibformat element.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
installation: Flask-Admin requirements version fix

* Flask-Admin version in setup.py is 1.0.7 but Invenio requirement
  was set to 1.0.8 causing DistributionNotFound errors.

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

* Remove legacy unused functions and variables.

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

* Removes leagcy code.

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