Make the post-verification notifications look nice.

* Ensure the email address is shown when it says "Your address has been verified"
* Fix a problem in DOM.setInner where if a class was used as a selector which resulted in a mixture of input and normal elements, not all elements would receive values.
Generalizing the verification poll and completion tests and making sure all related calls are tested.
For the verification complete functions, only send the password to the wsapi calls if it has been given.