HTML support

Converted to remove code concerning pgp mime, also _createsignedmimetree function updated to allow for sending html bodies