Adds yield around resource on controllers

Adding same functionality as https://github.com/plataformatec/devise/pull/2728 thanks to @edelpero 

Allows:
```ruby
class Overridden::InvitationsController < Devise::InvitationsController

  def update
    super do |resource|
      BackgroundWorker.trigger
    end
  end

end
```