fix($urlMatcherFactory): default to parameter string coersion.

feat($urlMatcherFactory): unify params handling code for path/search
feat($urlMatcherFactory): add a defaultType that does string coersion and supports arrays (for params)
Closes #1414