Let get_plugin support unicode

* Have it compare the input with `irc3.compat.string_types` instead of using
`str`.

* Add test for unicode input to get_plugin