Fixed mailer class so it is now functional

Moved from to before cc and bcc in header; fixed issue with $headers variable; added a return value for the send method.