Refactor MailSettings controller

- Do not store the password automatically (fixes https://github.com/owncloud/core/issues/11385)
- Refactor to AppFramework
- Add unit tests
okas - got it - these are the names of the form fields - fine with me then for now