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
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
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
Several small improvements in the emails after PR #26

Most notable: removed the unused model Informer, renamed the mailer Notifier
to ApplicationMailer, renamed the ApplicationMailer to BaseMailer.

refs #371
Refactor the feedback email and the tests for ApplicationMailer

New feedback email and form, using haml, simple form and everything else we
use in Mconf-Web v2.

Tests for mailer methods should only test that the email returned has the
correct properties and body set. Tests that the mail is sent/enqueued should
be made elsewhere. For the digest_email, for instance, the test that it is
enqueued is at spec/lib/mconf/digest_email_spec, since this is the class that
actually calls the "deliver".

refs #371
Remove test for the already removed model Informer

refs #371
Move invitations to the database to work better with resque

Invitation objects were being passed to mailers to format emails. With resque,
ideally only the identifiers should be passed to the mailers, that should then
fetch the objects. Moved the invitations to the database so we can do it.

refs #811, refs #371