emulate Perl 5.18's trimming behaviour in all versions
trim should also remove vertical tabs; we get these from our users
Merge branch 'new-trim' of git://github.com/pietsch/Catmandu into pietsch-new-trim