Fixed incorrect encoding/decoding in urlMatcherFactory for parameters.
Also wrote unit tests.