Generator for form is broken

Fix the forms generator

- Generating forms was broken as of 2.1.3 release. This commit fixes the generator although it does not add the rspec tests mentioned in https://github.com/refinery/refinerycms/issues/2690
- rspec tests to follow in a future commit