Dyamically set REST link

The REST button in the sidebar now links to the root url of the API, taken from the application's settings.

Fixes #39