bug 857107, load compare-locales data from elasticsearch as well as logs

Load compare-locales comparison objects from elasticsearch, and still
from buildbot log files.
Also add a command that allows to migrate the build logs into
elasticsearch.