BibFormat: Read record_stats from ES (if enabled)

* Record stats are being loaded from elasticsearch if elasticsearch is
  enabled (if not, they are being loaded from DB as before).

Signed-off-by: Sebastian Witowski <sebastian.witowski@cern.ch>
Merge pull request #91 from switowski/es_pageviews

BibFormat: Read record_stats from ES (if enabled)