Fixed `trim` bug of slash at the end of the url

I Fixed a bug that matches the wrong route when you request to `/users/` when Set the routing as follows.

    app.get('/', 'root', routes.index);
    app.get('/users', 'users', user.list);

Then, request to the following URL

    /users/

-> dispatched: routes.index