Converted the confirm and reset tokens to the history system.

This change is due to GWT not being able to modify the URL without
losing application state. This results in the app being unable to
clear the reset and confirm tokens from the URL after parsing it
which results in some subtle bugs.
Modified the nagivation aspects of the code to go through the history system