RPC raises errorCB when result is empty

- If service result is empty, it returns errorCB
- RPC can now raise errorCB if defined

Jira Issue: WP-1221