Handle unrecognized extensions on catalog. Factor render_404 up to application controller: easy to forget the format param.
test 404s on extensions.
Would prefer 404s, but just commenting out the lines gives us 406, and since this is only a stop-gap, that should be enough.
Merge pull request #966 from afred/404-for-unknown-extension

404 for unknown extension