set "multipart/mixed" to Content-Type for a mail with attachments
minor cosmetic correction
Added tests for RFC2231/RFC2047 mode
compare codec objects to accept charset name differences between Python 2.x and 3.x