REST: Return the correct response code when rendering errors, return an appropriate variable name for collection types in an HTML response
REST: Allow specifying a domain instance as an argument to redirect