Python bindings for manipulating indices

I also added tests for the admin bindings.

I am not sure what waitUntilStable does, though. I hope I didn't break it.