supporting both underscore's and dashes in the default url policy. Closes GH-765
added http method constraints to [UrlPattern]. Closes GH-763