Fixed the following issues for VS2012:
#302
#308
#311
#312
#315
#322
#323
#327
#335
Added two "enter" characters.
Merge pull request #339 from blackberry/next-322-vs2012

Next 322 vs2012