Fix index matching with trailing slashes

Mason 2.20 fails in this situation: with a `index.mc` inside a `foo/` directory:

 * GET /foo: the index.mc is found and used;
 * GET /foo/: no match is found.

This pull request has the failing test cases for now. Working on a fix at the moment.