Do not mark message as read upon failure

Mark ignored messages as seen
Do not munge recipient To: (it has bugs)
Disable full composer in mail thread
Disable reply-to
Customize mail_route()
Honor template settings in message composer
Setup ignores
Do not include automatic link to message
Block OpenERP ads

Removes the "Your OpenERP is not supported" announcement
Add my regression tests

Ran tests on ocw2 with:

cd /srv/dropbox/Dropbox/OpenCMLRepo/Test/openobject-addons-7.0
/home/jbq/oe run-tests --db_host=192.168.1.10 -d cmlid-test --addons ../../../openerp-web-7.0/addons,. -m mail.test_mail_gateway
Fix detection of MIME type in message_parse()

Be careful, content-type may contain tricky content like in the
following example:

Content-Type: multipart/related;
  boundary="_004_3f1e4da175f349248b8d43cdeb9866f1AMSPR06MB343eurprd06pro_";
  type="text/html"

So test the MIME type with startswith()
Shut off spurious debug
Integrate "inline images" patch

See https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-inline-images-in-mail/+merge/206433
Add tests
Do not use email cleaner
Use html2text

Disable inline links
Set html2text to ignore anchors and links
Improve logging in message_route()
Revert hostname conflict detection

It is possible to use several frontend OpenERP servers, with only one
database, thus the conflit detection introduced in commits 9861b5c and
4ed8413 does not make sense in all cases.
Strip In-Reply-To header

Header could be expressed like this:

In-Reply-To:
	<4ba8f246904b4fedb49fbab7945a7f82@AM3PR06MB433.eurprd06.prod.outl$$k.com>

The message lookup fails if header is not stripped