Uniform treatment of strings in Unicode.

Uniform treatment of strings in Unicode. Non-ASCII chars are now considered in strings, which allows for matches in Cyrillic, Chinese, Greek, etc.

Also removed some unused imports and updated the tests.