Added feature to relate bugs if Message-ID is already present in
the database.
This also fixes an error in which the UNIQUE constraint in the
msgids table causing an Application Error
Merge branch '0016719' into ejyothi

Conflicts:
	doc/CHANGELOG.bug_report_mail.txt