Catch not_found errors, and spec the sinatra app

Less treading on eggshells when navigating `/feature`, and foundation for sinatra app specs.
Fixes an unrelated deprecation warning.