Strings should now be passed to the plugins as unicode values in py2.7
so we have to make sure that we don't convert those into ascii by using
python str instead of u'' strings.
I added unicode and non-unicode message testing for the output() method
on RTMBot. I'm concerned about why the encode('ascii', 'ignore') was
there in the first place, but not having it seems to do the right
thing...
If debug=True:
- Most plugin methods (if not all) should end the script and report the
error to std.out
If debug=False:
- Plugin methods will log the error, data, and stack trace
Future planning:
- The debug=False case here has better behavior in my opinion, maybe
there's a better way of handling debug=True