Extends the trimming to general characters
Rewrites test suite

Removes wide string tests
Splits affix tests into prefix and suffix
Splits trim tests into whitespace, single, and set