MX-1140 Add a test that crashes the server (on a debug build) if we
improperly interpret the bits of a big long as a double.
MX-1140 Use the proper bitmask when checking for the real type during
key comparisons
Merge branch 'bugfixes/tokumx-1.5'
SERVER-1891 Add hook for auditing access control checks for commands.
SERVER-1891 Add audit logging hooks for authorization checks in mongod.
SERVER-1891 Consolidate command authorization checking logic.

This reverts commit 2e2a6fdffdba369a0594962267e5bc7bb47a3f3a and also fixes the build break that the
original "Consolidate command authorization checking logic" patch introduced.
SERVER-1891 Add audit logging hooks for user management and DDL events.

Conflicts:
	src/mongo/db/audit.h
SERVER-1891 Hookup audit logging for sharding events.

Conflicts:
	src/mongo/db/audit.cpp
	src/mongo/db/audit.h
	src/mongo/s/commands_admin.cpp
Manual fixing for auditing