Fix test mail behaviour

* ref #8854
* prevent default of "send test mail" button
* drop unused form serialization
* use display name of user for test mail
Merge pull request #9207 from owncloud/prevent-default-for-mail-test

Fix test mail behaviour