Protection against routes with the same name in parent/child hierarchies
Cut matched part of url when the route has child routes
closes #263,closes #264