Merge pull request #45 from tribut/action-support

support ACTIONs (/me) in otr messages
Use raw string for regex.
'buffer' is a built-in.
Merge pull request #47 from tribut/smp-utf8

allow smp question and answer to contain non-ascii characters
pylint complains about map.

Change to list comprehensions or single calls.
Wrap long lines.
replace '%' style formatting with str.format()

- this commit should not change the behavior of the code in any way
- i've used the named syntax everywhere except when adding names would
  only have complicated the code without increasing readability, e.g.
  `'len {}'.format(len(msg))`

fixes mmb/weechat-otr#29