Added ensureStartingSlash flag to QBRouterUtil