Implement parameters into the registration of queries and allow specifying the type upon matching.
Fix support for making scroll queries

Need to use the _search/scroll api endpoint.
Add tests for scroll search
Merge pull request #404 from jbafford/feature/scroll

Fix support for making scroll queries
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