Feature/elasticsearch v3

prior pull request: #25
further work: see commit messages
what is the output here if there exists an error?
500 would be nice here + logging of the error