SERVER-8335 test for autosplit heuristics
SERVER-8301 fix handling of server info on FreeBSD

On FreeBSD 9, the number of cpus is only 4 bytes, but we are reading into an 8-byte value.
I relaxed the size check and also fixed up the error printing when something does go wrong.
Fix jstests/auth/auth_helpers.js for enterprise build.

saslAuthenticate is no longer a method on the shell.  This test was breaking on
enterprise builders, as a result.
SERVER-8247 Add ES5 functions to autocomplete lists
SERVER-8217 Write test for id logging

Make tests allocate port dynamically
Visual Studio -- add JavaScript source code to all projects

Since the JavaScript source files are included in all projects,
it is inconvenient to have them listed in only the mongo (shell)
project, so add them to all other projects.  Split the list into
a common (all projects) group and a shell-only group.  Mark the
unused (in a particular project) ones as not-included.  Add
missing assert.js and types.js files to the lists.
SERVER-8630 Log the actual error message when getnonce fails
Tests for SERVER-4161. Covered index query for geo and hashed indexes

Signed-off-by: Ian Whalen <ian.whalen@gmail.com>
SERVER-8613 Correctly authenticate tools run from under test with runMongoProgram in the shell.

Now that the tools do not all engage in their own ad hoc authentication database selection process,
it is necessary to have runMongoProgram explicilty identify the database with the test user credentials
when running auth passthrough tests.
SERVER-8618: add context to JS exception messages
SERVER-8625 Allow dbAdmins to view index definitions
SERVER-8618: fix windows build
Visual Studio -- rename project and solution files

All of the project and solution files for building the SpiderMonkey
version of MongoDB executables have been renamed to their old names
plus "_sm", and all of the previously "_v8" tagged files are renamed
to their base names (e.g. mongod_v8.sln is renamed to mongod.sln).
This is consistent with V8 being the default JavaScript engine, with
an option to build a SpiderMonkey version.  Also added new "master"
solution files as src/mongodb.sln to build components for the V8
version and src/mongodb_sm.sln to build for SpiderMonkey.  Please
delete existing target build directories (e.g. src/mongo/db/x64/Debug)
before rebuilding with the updated project files.
SERVER-8623 Don't allow renameCollection to bypass auth checks on system namespaces
Disable max_message_size.js test on 32bit systems

SERVER-8529
Visual Studio -- add src/ipch directory to .gitignore
SERVER-8618: clean up shell and file exception messages
SERVER-8596 cleanup upgradeId field after upgrade
SERVER-8634: make _v8_function read-only
SERVER-8635: fix crash caused by executing mr::State::~State() after JS exception