Added ability to percolate an existing document to the rest api

I needed this functionality so I added it to the rest api however I don't have enough (any) knowledge of the native client to add it to that as well.  Also unsure about the naming conventions?