Game events
Use game events instead of date flags
Fix rating period to use game events
Clean up game participant scope
Fix current state of games
Only show confirm buttons when game is unconfirmed and player has not confirmed
Show pending games using latest state
Fix challenges controller
Merge branch 'master' into statemachine

Conflicts:
	app/controllers/challenges_controller.rb
Fix mail and activity feed tests
Initial challenge response
Respond to challenges in games controller
Stop challenge responses from confirming games
Gut challenges
Fix challenge processor
Challenge response tests
Challenge validations
Revert schema to master so it wont merge conflict
Merge branch 'master' into statemachine

Conflicts:
	app/controllers/tournaments_controller.rb
	app/helpers/games_helper.rb
Reapply migrations