Add sync behavior to the pod registry.  Expand tests.

Ok, switched and moved into the api package.  Also corrected some code in ReplicaController that wasn't working properly anyway.