Added optional switch to msgText to send html

I added an optional paramter to the msgText() function so that it could
easily be overloaded to allow the message to be sent with html headers.
Merge pull request #1 from cameronfraser/master

Optional switch parameter for msgText