Allow separate specification of unresolved handler

This will make it easier for the application constructor to intermingle
the alias routes between the regular routes and the "not found" route in
the future.