Added support for filter and query facets.

Reference docs:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-facets-query-facet.html
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-facets-filter-facet.html