got snopt working on windows.

updates lots of code to support the build w/ snopt on windows
  - the existence of snopt turned on the compilation of many pieces of code that were not compiled on windows before.  (e.g. the constraints, ik, ...). 
  - went through and quieted all of the compiler warnings on msvc 10.  lots of static_cast<int>
  - had to be more careful with some of the DLLEXPORTS.  should really go and give specific names to every DLLEXPORT.  will add that to the list.

Please check this carefully for me.   
this function is awkwardly named: "base zero" and "base one" don't actually make any sense compared to the normal definition of "base two" or "base ten". I assume that this is needed to convert c-style zero-indexing to matlab-style one-indexing. Would incrementByOne be more sensible as a name?