docs($urlMatcherFactory): Add example for .type()
fix(stateFilters): mark state filters as stateful. closes #1479

angular 1.3. added a perf enhancement where filters must be stateless, or mark themselves as stateful.
Merge branch 'master' of https://github.com/angular-ui/ui-router