charmstore/router: generate http.StatusNotFound appropriately

This generates messages (and error codes) as expected by the API specification.