Moved the code to handle goto requests in a extra WizardView method.

Fixed https://code.djangoproject.com/ticket/18000