added phpdoc
Added Test Class for mailer

There were multiple issues with static calls of Swift_Mailer and hence it was not yet possible to fully test the class.