Add component generator for rails

Adds a generator that scaffolds up a complete, but minimal, component.