minor improvements and housekeeping of the notes
remove a form_tag, replaced with a form_for for more aligned creation of competitions-blank
clean up some event_class related code
fix the unit tests by resetting ENV after using it in a test. Also replace some event_class if/else statements with 'case' statementS