ISPN-2812 Allow Map-Reduce tasks run in local and replicated envs

* Added tests for replicated in both 2 and 4 node configurations
* Added support for local cache map/reduce support
* Added tests for local map/reduce