Use generic JavaScript in MapReduce tests that will work even with server 2.2 (which uses a different JavaScript engine).
Removed SlidingTimeout.