ADD: masterapi: call clusterallocator from replica set endpoints.
ADD: masterapi: call clusterallocator from replica set endpoints.

KIT-MAMID/mamid,KIT-MAMID/mamid,KIT-MAMID/mamid,KIT-MAMID/mamid,KIT-MAMID/mamid