Method for generating a single file, proper exception handling from core. Fixes #4. Addresses #11.
modifying codegen path for now and renaming QType to Type
reverting folder change
Fixing codegen file path.
cleanup and formatting for PSR-2 standards compliance.
Start cleanup of codegen templates addresses #6

Change all raw output lines to sprintf so that everything lives inside
php tags. This makes everything a bit easier to digest.