Add VS2010, VS2012 support; unify tabs vs. spaces; build.bat
Fix up some formatting.
Merge pull request #1 from rygorous/master

VS 2010, 2012 support; fix uneven tabs vs. spaces