[qmlsettings] Some work on implementing the UI for a generic IMAP provider.

This still has a lot of caveats: once an account is created, it cannot be
edited. Also, the interface has a lot of horrible edges and quirks for now. But
being able to configure an account is much better than nothing.

Thanks to John Brooks for his help.