Clean up code

- Fix indentation of private methods
- Add missing to_s method for animal model
- Consolidate validations to single line
- Add comments
- Move ActiveRecord call out of template
- Update doctype