Using a recent activity object for notifications
Initial testing with task schedule and resque, message jobs
Mount resque admin with schedule addon
More emailing messages converted to recent activity + workers
Merge branch 'branch-v2' into branch-v2-refactor-emails
Removed delayed_jobs

We resolve to change from delayed_jobs to Resque, so all delayed_job were removed and replaced for Resque. Some emails were changed to the new format used with Resque. The tests are missing yet.

refs #811
Update space_mailer.rb
Update space_mailer.rb
Started a refactoring in the email tests

Some modifications on the test environment were made to ensure that ".delivery" method can be tested. New tests were created to the mailer class, some tests are pending yet.
Merge remote-tracking branch 'origin/branch-v2' into branch-v2-refactor-emails

Conflicts:
	Gemfile
	Gemfile.lock
	config/locales/pt-br/mconf.yml
	config/routes.rb
	db/schema.rb
	spec/lib/mconf/digest_email_spec.rb
Continuing reviewing and refactor the emails

Refactored most of the emails and the tests were already made for them. Some tests need to be improved, and some emails still need to be changed to the new format.

refs #371
Emails from space_mailer, and the worker used to send the processed emails received some improvement.

refs #371
Done more tests to the emails

refs #371
Advanced options added (auto_start <video, audio>) and tested.

#refs 1204
Problem with Space.stub!
Merge remote-tracking branch 'origin/branch-v2' into branch-v2-refactor-emails

Conflicts:
	Gemfile
	lib/mconf/digest_email.rb
	lib/mconf/invitation.rb
	spec/factories/join_request.rb
	spec/mailers/notifier_spec.rb
Advanced Options added and tested.

#refs 1204
Remove unnecessary call to JoinRequest#send_notification

Notifications for join requests are now send via resque scheduler from
recent activities.
Show recent activity items for join requests
Shibboleth Always new account flag added.

#refs 1284