Merge pull request #1098 from FHenry/3.4

Fix adding email into mailing module
Fix: forged select for stats where wrong when filtering on a thirdparty

Conflicts:
	htdocs/compta/facture/class/facturestats.class.php
Avoid PHP warning