Add elasticsearch, a powerful open source search and analytics engine

This commit requires meging of offlinehacker/nixpkgs@c20235604922b513e81138895e68544de83339be also pull request 875 in nixpkgs