use var then export style for generators

this way the generated files pass jshint with esnext option.
Additionally this is similar in style to the original ember-appkit
implementation.