Changes to make the C++ client build on windows with vs2015.
Mostly DLL_EXPORTS being added to allow test programs to see internal bits they test.
nds_channel_selection.cc needed a missing include, and a NOMINMAX defined (so that the network code didn't break std::min). Changed a 'and' to &&.
Work towards #76 (closed)
Edited by Jonathan Hanks