fix generators, migrations and specs

fixed generators
when you run migration it runs on your project as well
fixed failing specs
Please add a spec that tests this. Mainly the fact that the engine path gets added to the main app's config path.