Some Visual Studio 2010 related fixes

1) ReSharper is an very helpful Visual Studio addon that creates a special
directory if enabled. This directory should not be committed.
(http://www.jetbrains.com/resharper/)
2) Getting rid of some warnings