Feature/alternative template generation

Feature branch, rather than my master.

Replacement for https://github.com/robmorgan/phinx/pull/407
this does not follow PSR standards... `catch` should be on the same line as the preceding brace.