Update Special:ChangeEmail to use HTMLForm

Makes the code shorter and easier to read.

Change-Id: I629cee4264fad6cde98495c0e8daffe5ea245b48