Implement parameters into the registration of queries and allow specifying the type upon matching.
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.
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
Merge changes.txt conflicts