Adding unit test for PurgeTabletActions.

And fixing a bad return code in zk topo.
Merge branch 'master' into replication