Added Visual Studio 9.0 project files.

Handled some VC++ compilation warnings.