Migrate gem to engine

* Migrate to engine
* Rewrite tests to work with engine
* Rewrite generators to new files path inside app folder
Line is too long. [84/80]<br>Use the new Ruby 1.9 hash syntax.<br>Trailing whitespace detected.