Adds a redirect_back_or_to method so after edit/create/destroy it redirects to the FORM referer (usually two steps back from the action) or to the explicit redirection target if there's no place to get back.