Make URL query items multibyte-aware, add Liquiçá-trap to unit test
A few cleanups.