Revert "Don't remove trailing slash from PATH_INFO for mounted apps"

This should not be treated as a bug fix, because the behavior was
present in Rails for quite some time and some people may rely on it.

This reverts commit 1193a2738dc751cedcd6155076d68c9851680317.