Fix model generator, attribute keys in model.

This series of commits fixes some bugs I found during my experience using the generator over the last week.

I also suggest a different way of letting the developer choose Karma and/or Coffeescript.