Router.onUndefined fires with useful data

Small change to router event onUndefined so that listeners can use some
data related to the query string.