Merge branch 'bugfixes/tokumx-1.4' of https://github.com/Tokutek/mongo into bugfixes/tokumx-1.4
fixed missing print statement #993
added _dumpCrashInfo command for testing #1070
added getrlimit and sysconf info #1070
added some fs info to crashdump #1070
Merge pull request #1086 from Tokutek/crashdump-fs

filesystem, getrlimit, and sysconf info on crash

fixes #1070
Merge branch 'bugfixes/tokumx-1.4'
refs #1087, have secondaries call Collection::noteIndexBuilt after building an index
refs #1087, add test
refs #1085, don't set Collection::KEYS_UNAFFECTED_HINT if a hot index is in progress. Overkill for now, but it works
Merge branch 'bugfixes/tokumx-1.4'
post 2.4.9

Conflicts:
	src/mongo/util/version.cpp
SERVER-9259 Don't move chunks for non-empty hashed collection during shardCollection cmd
SERVER-11560 Close file handle in shell util

The conflicts were just in the includes at the top of the file

Conflicts:
	src/mongo/shell/shell_utils_extended.cpp
SERVER-12034 Fix bug with SIGXCPU causing a core dump in mongoD/mongoS.

Graceful shutdown was chosen so we can log the signal; There is no risk
of data corruption.

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>

Conflicts:
	src/mongo/s/server.cpp
SERVER-12132 Stop using stringstream in Value::coerceToString()

This speeds up the function by two changes:
1) Using StringBuilder (through str::stream) rather than stringstream.
2) Not constructing a StringBuilder or stringstream when not needed.

At least with libstdc++, constructing and destructing a stringstream is
extremely expensive.
SERVER-12908 don't aggressively retry when config inconsistency detected in balancer
manually merge c7fc38edc356944df1cafe5a5c68fa8112e03136 from upstream mongo
Increase timeout of replSetReconfig to leave time for initial sync in two_initsync.js test

(cherry picked from commit 298470d138e0596c0f61fff46cbada3bf402a846)
SERVER-13249 adjust timeout for reInitiate

Since there is a 15 second polling delay when there are no visible primary/secondary nodes,
reInitiate was coming close to timing out in many cases.
(cherry picked from commit 4a299302a7312cebb076d0b356c5235c2f45918c)