installation: Flask-OAuthlib 0.6 upgrade

* Upgrades Flask-OAuthlib to v0.6.

* Adds '/' to the endpoints that need it in the test_provider.

* Uses the url_for in some functions in helpers testsuite in order to
  not hardcode the url.

* Fixes some PEP257 issues.

* NOTE require_api_auth no longer passes oauth request as view
  arguments. Instead user request.oauth to access oauth request.

Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>
Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
deposit: Flask-OAuthlib upgrade fix

* Fixes API changes related to Flask-OAuthlib upgrade.

* Some PEP257 love.

Co-authored-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>
Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
documents: Flask-OAuthlib upgrade fix

* Fixes API changes related to Flask-OAuthlib upgrade.

* Some PEP257 love.

Co-authored-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>
Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
webhooks: Flask-OAuthlib upgrade fix

* Fixes API changes related to Flask-OAuthlib upgrade.

* Some PEP257 love.

Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>
Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
tags: Flask-OAuthlib upgrade fix

* Fixes API changes related to Flask-OAuthlib upgrade.

Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>
Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
base: user 'Login' and 'Register' button  addition

* Shows the 'Register' button if the value of
  'CFG_ACCESS_CONTROL_LEVEL_ACCOUNTS' is 0 or 1. (addresses #1943)

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
base: global tooltip activation

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
docs: missing subversion dependency

Signed-off-by: Charalampos Tzovanakis <drjova@cern.ch>
Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
utils: removal of duplicate `SmartDict` definition

* Removes duplicate `SmartDict` class definition. (closes #2031)

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Acked-by: Jiri Kuncar <jiri.kuncar@cern.ch>
records: fix for document default name generator

* Adds catching exceptions around `os.makedirs`.

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
base: account settings drop-down menu

* Adds account settings in user menu drop-down.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Tested-by: Jiri Kuncar <jiri.kuncar@cern.ch>