Add GET /rest/repositories API call.

This allows calling GET /rest/model for existing repos without reading them
from config.xml.

Example:
$ curl http://localhost:8080/rest/repositories
["default","documents"]