Feature/mongo 2.6.5 jshint tests

Fix JSHint issues with new pipeline test code that was (mostly) ported from the original 2.6.5 mongo code.
Part of an effort to cleanup various JSHint issues in one fell swoop so that we can keep things a bit cleaner going forward.

This is not an improvement to the code.  This makes it harder to step through the code to see what's going on.