fix(UrlMatcher): implement hashCode

Fixes #20
style: code cleanup