SERVER-8391 upgradeCheck() function added to shell

Conflicts:
	src/mongo/SConscript
	src/mongo/shell/createCPPfromJavaScriptFiles.js
	src/mongo/shell/shell_utils.cpp