Updated the generator code to .net 4.5 and the culture files

Also fixed some indention mismatches. Everything in the generated code is now indented with tabs.