fix (rmi-task) proper invocation result wrapping
fix (rmi-task) proper invocation result wrapping

- wrap result (success and error) into invocation result json object
- implement short circuit in API invocation chain

Backendless/JS-Code-Runner