New match-all query
First two aggregations: min and max
Added percentiles aggregation
Style improvements
Recognise search type, query cache in search object; fix shard error reporting
Cardinality and terms aggregations
Symbol conflict; don't :use queries and aggregations at the same time
Added sum, avg, stats, extended-stats and value-count
ids query/filter, some package cleanup
Parse stream directly, less consing.

Also enforce automatic text decoding by DRAKMA.
Fix indentation.