add an API function for retrieving the GSJS config

Fixes trello#25.

The HTTP API needs this to get information about skills, achievements
etc.