fixes for generated app

* fixed destroy command
* introduced more active_model options
* generated app and scaffold works