Add RackApp#recognize for checking if a route matches without invoking it.
Add EventRouter#event_subscriptions_for for checking for event listeners without calling them.