Implements base64 encoding

Fixes the issue from this pull request (https://github.com/themartorana/python-postmark/pull/13), but it also handles the case when a MimeBase object is passed.

https://docs.djangoproject.com/en/1.4/topics/email/