pep8
Squash some Python 3 deprecation warnings
Allow setting Content-Transfer-Encoding for body and html via Attachments:

Be warned that this may not work for utf-8 on some versions of Python
because of a bug in email.quiprimime: http://bugs.python.org/issue16948

Closes #29