286 switch from solr to elastic search

Should do the first fixes for the search with elasticsearch instead of solr
Style/HashSyntax: Use the new Ruby 1.9 hash syntax.