fixing crashing of URI.decodeQuery() on malformed input - closes #87, closes #92