Implement parameters into the registration of queries and allow specifying the type upon matching.
Implement terms lookup for terms filter.
Implement terms lookup for terms filter.
Merge branch 'terms-lookup' of github.com:jlinn/Elastica into terms-lookup

Conflicts:
	test/lib/Elastica/Test/Filter/TermsTest.php
Change TermsTest index name to avoid conflict.

TermsTest created and deleted the 'elastica_test' index, which was presumed to exist by a subsequent test.  Since the index had been deleted, the later test failed.  Renaming the index used in TermsTest avoids this failure.
Update documentation of the extra fields option when registering a query.

The details about supplying extra fields with the query is explained on the single percolator api page at elasticsearch.org. No need to specify them in more detail.
Fix code documentation about a query while matching a document.
Remain backwards compatible with the old setParam way of supplying extra parameters.
Test with new way to use filtered registered queries.
Merge pull request #406 from jlinn/terms-lookup

Terms lookup
Refactored basic test to match documents to become better readable.
Update changes file.
Merge remote-tracking branch 'upstream/master' into percolator-update

Conflicts:
	changes.txt
Added upsert support when updating with a document. #399
Formatting and changelog.
Formatting.
Merge pull request #407 from F21/upsert

Added upsert support when updating with a document. #399
Merge changes.txt conflicts
Add support for fields parameter in get operation

Update the getDocument method to return the `fields` field instead of `_source` if available.
Allows to get a document from ES and specify the fields you want (See fields section at http://www.elasticsearch.org/guide/reference/api/get/)
Undo #407