* [DH_AGENT_DEFINITION,SC] Simplified REST API + JS handling code.
* [DH_AGENT_CREATE,FIX] Agent names were not created correctly (subpath missing).