Added licensing to the build script helpers
Added the VS2012 build system
Fixed a const-correctness error
Optimisation to tryReadHeaders() so that null termination of strings only occurs once the string has been fully populated