Merge pull request #121 from andrewkww/vs2012_warnings

VS2012 warnings: more conversion warnings and a few others
Merge pull request #120 from andrewkww/vs2012_warnings_vc_headers

cmake: ignore MSVC C4350 and C4548 warnings
Merge branch 'vs2012_warnings_static_object'