- fixed issue with _primary being null in sharded systems.
- fix issue with mapreduce command name for sharded systems.
fixing tests against sharded systems.