Test if subject property is set

If an email is sent without a subject line, the script throws ```Undefined property: stdClass::$subject. In /ImapMailbox.php, line 367``` and won't continue to the next email. Adding an isset() check for $head->subject fixes the problem.