Add url helper support for schema serving endpoint

For this, the route for SchemaController is changed to use "resources"
instead of "get", so that the url helper is automatically defined.

In addition, set default format to "json" so that we don't need specific
extension for the endpoints.