Use elasticjs, not $http directly

This will allow to specify the following configuration:
``` javascript
  elasticsearch: {server: "http://localhost:9200", withCredentials: true}
```
(in fact any option specified in http://docs.angularjs.org/api/ng.$http)

This should allow elasticsearch to be proxyfied by any reverse proxy we
want and thus add access control to it.