use correct url's in devise reset password email
use the path url generator
ensure staging points to the correct server
use background mailer for devise

Relies on sidekiq being available. Also this will change to when we bump rails 4.2+ and sidekiq to 3.2.4+. Currently blocked by Cellect client using prerelease of the Celluloid gem. See details on using deliver_later - https://github.com/mperham/sidekiq/blob/master/Changes.md#326
ensure rails is loaded before sidekiq

https://github.com/mperham/sidekiq/issues/1552
make cellect helpers available in tests
Merge pull request #321 from camallen/devise_mailer

devise mailer
Make sure user group is loaded to update links

The resource_name of the groups controller was user_groups, causing
problems automatically loading the resource through RoledContoller.
This makes the resource loading explict and adds a test to make sure
the the update_links routes behaves correctly.

Closes #323
Merge pull request #328 from edpaget/fix-user-group-links

Make sure user group is loaded to update links
Fix project creation docs and fix language spelling
Merge pull request #325 from edpaget/allow-user-filtering-of-project

Clean up ProjectsController
Merge pull request #331 from edpaget/fix-project-documentation

Fix project creation docs and fix language spelling
Update RoleControl::Controlled to dispatch on target type

+ Close issue #330
+ Add specs for case of creating a project with user_group owner
Merge pull request #334 from edpaget/fix-user-group-ownership

Update RoleControl::Controlled to dispatch on target type
fix serialised resource responses
rework generic create / update actions for controllers
standardise updatable resource responses
Merge pull request #335 from camallen/projects_create

Fix incorrect RestPack serializer usage
add request headers
ensure doorkeeper is protecting the right action