Moved variable declaration to top of function to fix compiler errors on MSVC.
Added include files to make sure functions from pretty_subtype.c get exported properly on windows.
Removed explicit exports of template class std::string.
(To resolve linker error on MSVC 2010)
Merge pull request #277 from stepcode/review/msvc_fixes

Review/msvc fixes