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 and continue
with the usual devise workflow.