Migrated plugin to work with unicode instead of qstring.

This makes it compatible with current ninja master,
although it breaks for current stable releases.
Improved a little the completer style.