legacy: dbdump fix

* Fixes imports in dbdump which prevented it from running.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
formatter: template loading order fix

* Fixes loading order of format templates and output formats to
  respect loading order of Invenio modules.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
BibDocFile: wrong field name fix

* Fixes field name used in database query.

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

* Handle detection of packages properly when packages include
  code.

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

* Adds upgrade recipe for new community ranker.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
communities: default sort order config

* Adds configuration variable to control default sort order
  of communities.

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

* Adds admin views to communities module.

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