How can I get a list of the roles in a system, via the REST API?
Create a custom service resource, (you'll have to create your own access callback and access callback file, unless you want to use DrupalGap which is tailored to the link mentioned here)
Then in your callback, try something like this:

return user_roles();