Use casts for all urlquote tests
Fix UTF8 chars in %{escape:}, add %{unescape:} and tests