allow registering custom not found handler
Merge remote-tracking branch 'eaigner/master'