fix empty path handling in Router.route
handle more than one trailing slash
Merge pull request #803 from YAndrew91/fix-router-params

Router fixes: empty string URL and multiple trailing slashes