Getting the code to build on windows

Making the code C98 compliant so it can build using VS2010.
Merge remote-tracking branch 'upstream/master'
Remove the IPCH cache that shouldn't be in source control
Fix for negtive scale in the X for an attachment working.
Merge pull request #38 from executionunit/master

VS2010 build and Fix for Negative Scale in X