Add configurable LDAP_OPT_DEREF option (#1489864) - patch from Stuart C. Naifeh

Conflicts:

	CHANGELOG
Fix unintentional draft autosave request if autosave is disabled (#1489882)

Conflicts:

	CHANGELOG
Fix malformed References: header in send/saved mail (#1489891) - update Mail_mime to 1.8.9 version