Updated code from VS2008 to VS2010

All tests pass. Updated the sln file and csproj files through VS conversion.