fixes #838 - Add way to trigger an app restart via the REST API

Needs to be added to the API docs, so just for review for now.