Dropped to_json()
Use encode_json() more
Dropped Query.to_query_json() and extracted ES._encode_query()
Dropped to_search_json()
General import cleanup
Dropped 'q' property
Prefer isinstance() to hasattr()
Dropped encode_json, decode_json
Facet refactoring
Query refactoring
Bring back encode_json() as an ES method instead of function
Manual merge from gsakkis/master