If the local account is disabled user can't log in via federation,
(redirect to root path and flash an error)

refs #1312
Confirmation email now changes according to the require_admin_approval option.

refs #1322
Removed profile observer, and added his function to a after_update on profile model.

refs #1320
Removed bigbluebutton meeting observer, and added his function to a after_create.

refs #1320
Some tests for login and registrarion via shibboleth
Some tests for when shibboleth should fail
Strings are now get via locales using I18n.
Tests are still missing.

refs #1322
Attempt to test the confirmation email features.

refs #1322 and refs #1321
Merge branch 'branch-v2-1322-bug-confirmation-email-admin-approval' of git://github.com/gmiotto/mconf-web into gmiotto-branch-v2-1322-bug-confirmation-email-admin-approval
Tests for confirmation email, with changes in the test suite for it

A continuation of 5125f60.
Had to make some changes in the test suite to be able to send and test emails
with devise and resque.
Disabled use_transactional_fixtures and started using DatabaseCleaner to
clean up the test database. Most of the times it will still use transactions,
but it can be changed to truncation if we need it.

refs #1322
Removed unused constants and block from seeds

The config file is loaded by configatron (config/configatron/default.rb).
These constants were throwing warnings for being loaded multiple times.
Ignore capybara's html file created by show_page
Merge PR #27 of miotto/branch-v2-1322-bug-confirmation-email-admin-approval into branch-v2
Organize and improve tests and a few strings for PR #37

Confirming an account would give the notification "you are now signed in",
even though it was possible that the person confirmed the account but was
not automatically signed in.

refs #1322
Update bigbluebutton_rails to use BigbluebuttonRoom#create_time

refs #722
Merge PR #35 of git://github.com/gmiotto/mconf-web

refs #1312
Improvements on PR #35, blocking disabled users from shib sign in

Refactoring in the shibboleth controller. Works just as before, just
organized in a different way.
Added more tests also.

refs #1312
Fix I18n.enforce_available_locales deprecation warning

Thanks to http://stackoverflow.com/questions/20361428/rails-i18n-validation-deprecation-warning
Fix comment on join requests, hide when empty, and more tests

Comment was not in the list of allowed attributes.
Added more tests for it and a few pending specs for join requests that should
be implemented later.

refs #1278
Less scary error pages, visual improvements

Less red. Makes the pages more normal, not "screaming" to the user.
Also changed a few strings and a bit more tests.

refs #1203