remove support for node < 0.10

also update deps
Set to lf, in case users don't have core.autocrlf set.
Use the new .extend() method instead of util.inherit

Allow generator to be composed with each other.
Add test mockPrompt and expected file.
Merge pull request #3 from hariadi/master

Refactor generator