form.fieldsFor, refactor formFor, #502
Add db adapter dependency when generating with --db, closes #492