New trim for all

I believe trim should also remove vertical whitespace such as the vertical tab our users sometimes copy & paste from their PDF documents. As it turns out, \s matches vertical space in Perl 5.18 experimentally. My patch makes this behaviour available for all versions of Perl by matching [\h\v] instead of \s. Test adjusted accordingly.