[WIP] Update app queue to use Elasticsearch (bug 1066372)