Added support for ByteArray Attachments and removed Memory Leak from MimeMessage class

- Added support for ByteArray Attachments
- Removed Memory Leak from MimeMessage when the content is automatically created