legacy: fix run_sql ansi quotes
legacy: fix run_sql ansi quotes

* Fixes MySQL ansi_quote problems for run_sql on many modules.
  (addresses #3089)

* Fixes a utf-8 problem on OAIRepository Admin Guide.

* PEP8/257 code style improvements.

Signed-off-by: Leonardo Rossi <5460ec99b71a72e7693c4088b5c2585e76e1c857@cern.ch>

inveniosoftware/invenio-access,tiborsimko/invenio-access,tiborsimko/invenio-access,inveniosoftware/invenio-access