Added validation checks for Studygroup
Show messages if user submits form on invalid Studygroup
Fixed mailer test failure, added extra condition for private studygroups in user.rb join method
Changed all flash in user controll to use flash_message helper
all tests pass
Added tests for validations
Merge branch 'master' into fix_validation

Conflicts:
	app/controllers/studygroups_controller.rb
	app/models/global_constants.rb
	db/migrate/20141020011108_create_studygroups.rb
	db/schema.rb
added messages model
changed default maximum
Revert "added messages model"

This reverts commit 456b091792f607f3a78969f15e2309234b944032.
Merge branch 'master' into fix_validation
Merge pull request #30 from dkumar/fix_validation

Fix validation
recurring events now working