docs($urlMatcherFactory): Type object & formatting

Adds documentation for the Type object, and misc. cleanup and improvement of UrlMatcher and $urlMatcherFactory docs.
fix($urlMatcherFactory): detect injected functions

Correctly detects injectable functions annotated as arrays when registering new type definitions.