Implement the percolate API to allow registering and deleting of percolate queries and checks of documents against existing registered queries