Adds yield around resource on devise controllers

If you want to add a new behavior to your devise
controllers but you don't want to override devise's
default workflow, just pass a block around resource.

This would give you for example, the ability to
trigger background jobs after user signs in.
Merge pull request #2728 from edelpero/master

Adds yield around resource on devise controllers