Allows sending of html e-mail

This allows e-mails to be sent as html rather than plain formatting. The only real change here is to wrap tracebacks in pre tags. The purpose of this is to allow preservation of error output formatting that depends on the use of fixed-width fonts. This requires setting email-type to html under [core] in client.cfg.