Fix: Bad date ranges

Conflicts:
	scripts/invoices/rebuild_merge_pdf.php
Fix adding email into mailing module
source_id is already added
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
Merge remote-tracking branch 'origin/3.4' into 3.4_backported