Added reset button to form

Added hook for reset button. Used source:
http://stackoverflow.com/a/14737395/2599996
Needed to modify the answer there to mirror my setup, but the general
idea is there.