Match longest regex for mock responses

If multiple url regexes match, use the one with the longest regex.

This allows "catch all" mocks to be created (for instance, .* that will only match if longer mocks don't exist).