Move uri pattern related code to it's own class
Add spec for uri wildcards
Remove specs related to uri patterns in built_in