Make percolator feature-complete.

Implement parameters into the registration of queries and allow specifying the type upon matching.