Elasticsearch access via xtas webserver

Tasks now split into sync and async categories.
TODO: make result routing a synchronous task (?)