implemented microsoft autodiscover v2 and secure autodiscover.xml
Summary:
Added support for json based autodiscover v2 which currently only supports Protocol ActiveSync or rediret to the XML based autodiscover v1
In addition this change implements basic authentication for autodiscover.xml to support the autodiscover/authentication flow and protect users data (prevents email testing/scraping)
Reviewers: Autoconf Developers, machniak, vanmeeuwen
Reviewed By: Autoconf Developers, vanmeeuwen
Subscribers: Autoconf Developers, machniak
Differential Revision: https://git.kolab.org/D931