FIX generator template variables

Generators don't play well at all with innerclasses : source_path get
screwed and instance variable are not propagated to `#template`.

Making inner classes inheriting from Rails::Generator::NamedBase was an
option but make it very difficult to override the generator. Flat design
is ugly, but way more convenient.