Added RFC5322 format

Added RFC5322 format constant for email
Changed date format

Date format RFC822 -> RFC5322
Restore file

Adding lines that where deleted by mistake in a previous commit (Added RFC5322 format - commit e0b32f96a463ba09d621c44126e807d3f769f79b)
Fix function params

RemoveAttachment(): param is incorrectly named -> renamed to undeclared variable $strName in function body.
RemoveHeader(): second param is unused yet required -> drop second param (note that php accepts function calls with more params than defined in the function declaration; this shouldn't break things)
Merge pull request #405 from ChristofVerhoeven/master

QDateTime format Rfc5322 for sending email