Feature/mongo 2.6.5 jshint document sources

Fix JSHint issues with new pipeline document sources in code ported from 2.6.5 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.
We're doing it right here! And it's cached when the first require fired off anyway so it's OK.