optimizing testRoute algorithm to fail faster
Merge branch 'master' of https://github.com/erikringsmuth/requirejs-router