Use DNS host (A) Records Registered by Net Logon. Refs #2729

Simplifies the resolution of domain controllers IP addresses.
Re-expand active directory configuration templates if host name changes.
Use smb/AdsLdapAccountsBranch prop as search base in AD. Refs #2727

By default cn=Users,<dcparts> is assumed.
postfix/AdsMapUserPrincipalStatus prop: consider AD user name as valid mail address. Refs #2727
AD integration: new postfix templates for users and groups. Refs #2727

Configuration of LDAP queries is now in templates

- /etc/postfix/active-directory-users
- /etc/postfix/active-directory-groups
AD integration: deliver only to enabled users and "security" groups. Refs #2727

Changed the group filter to exclude "distribution" groups. See
http://msdn.microsoft.com/en-us/library/cc245527.aspx
domain-* events: expand Postfix active-directory templates. Refs #2727
dovecot.conf: workaround for broken SOGo quota support. Refs #2722

See https://lists.inverse.ca/sogo/arc/users/2011-02/msg00479.html