legacy: dbdump refactoring fix

* Adds missing functions from master to dbquery, which caused e.g.
  dbdump to not work. (closes #2088)

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
legacy: dbquery pep8/257 fixes

* Fixes most PEP8/PEP257 errors in dbquery.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
legacy: docextract move to new code structure

* Moves legacy docextract modules to new structure. (addresses #2210)
  (PR #2223)

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

* Fixes import statements after move to new structure.
  (addresses #2210) (PR #2223)

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
legacy: authorlist move to new code structure

* Moves legacy authorlist module to new structure. (addresses #2210)
  (PR #2007) (PR #2223)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
legacy: authorlist imports fix

* Fixes import statements after move to new structure.
  (addresses #2210) (PR #2223)

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