SERVER-12037 Text query stage correctly track various stage stats

The text query stage was previously not updating
needFetch/needTime/advanced.
improve query parsing performance a small amount
SERVER-12820 Parse connection string to handle replica set connections in copydb command
SERVER-12820 Added jstest for various possible copydb command uses
SERVER-13078 Fixed batch sizes one off in bulk API
SERVER-13063 Improved bulk API error message
SERVER-12763 Do not return a SingleWriteResult if inserting from array
Refactoring shell bulk API tests and added more failure cases
SERVER-12763 Fixed write_result.js to use BulkWriteResult
Removed unnecessary print statement from bulk_api_ordered.js
SERVER-13122 if we must use the raw obj to sort with ensure it's well formatted