Feature/mongo 2.6.5 document source pipeline d

probably need test cases for this