Added generated schema.rb with some additional constraints
Add defensive else to case in questions_helper.rb
Add useful content to README_FOR_APP
Remove unused variables and test from category_tests.rb
Factor out duplicated code in questions_controller.rb
Make “cosmetic” changes suggested by PullReview

These are stylistic and comment changes which shouldn't affect the
code, but do bring it into line with PullReview’s standard checks.

 * do end vs. {} for multiline blocks
 * reduce vs. inject
 * new hash syntax
 * comments for classes and some methods
 * single quotes vs. double quotes when no interpolation