SERVER-3364 Introduce MONGO_CLIENT_API macro for labeling types, functions and variables.

Also addresses SERVER-5650.
SERVER-3364, SERVER-5650 Define away MONGO_CLIENT_API when not building the shared library.

Conflicts:
	src/SConscript.client