Update URL matching and tests.

Brings existing features in line with Backbone 1.1.2.