[1] More groundwork for MSVC 2013

- Adjust lit to correctly detect compilation failures from MSVC
- Avoid more redefinitions of MSVCRT functionality included in 2013
- Split multiple declarations of locale categories to workaround a silly MSVC bug