fixed Percolator unregister and register Queries
added test and updated changes file
Merge pull request #558 from cogitatio/percolatorFixes

fixed Percolator unregister and register Queries