Adding attributes_for and improving error handling

- Renamed HomeController to FactoryController
- Added an attributes_for action which is analogous to FactoryGirl.attributes_for
- Improved error handling, FactoryController#create and FactoryController#attributes_for both return 422 with errors json when given an undefined factory or upon validation error