Better email headers for In-Reply-To and References

Previously, the References header emitted by the system for new thread
entry auto-responses and alerts included the message-id for which the email
was a reply in the `References` header. This patch corrects the issue by
placing the reply message-id in the In-Reply-To header, and constructs a
correct References header.

That is, if available, the References header received in the email that was
used to create the thread entry is appended to the message-id the email is
actually in reply to. This is the expected usage of the References header.
Disambiguate Reply-To from In-Reply-To mailer opts

Previous the options defined for the Mailer::send() function were confusing
when sending an In-Reply-To header
Merge pull request #825 from greezybacon/issue/better-email-references

Better email headers for In-Reply-To and References

Reviewed-by: Peter Rotich <peter@osticket.com>