add support for vs2012 (minor differences from vs2010)
fix sln output so custom build names are preserved, tidy/untidy things