Improve error handling
This MR:
- improves the handling of the errors thrown by the ESC Router to properly return the important information,
- changes the superagent url in the requests to always have a slash between the base URI and the endpoints. The ESC Router API field in the configuration should not contain a trailing slash.
Fix #1 (closed)