Change petition key from the petition id to the id namespaces with 'petition:'.
Adds a helper method for clearing the collections cache.