Making not found routes work a bit better.

Merged in some changes from the original backbone source that inspired
this router. One of the fixes helped improve missing route support.