SERVER-15022 don't rely on configServer.ok() for sharding state when recv'ing chunk

configServer global is not reset on replica set stepdown
Also better error messages when sharding state not enabled.
SERVER-14413 don't forget to link in heap1 registration
Merge remote-tracking branch 'upstream/master'