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
Merge pull request #45 from habibvirji/WP-1221-pzhFunctionalityFixes

RPC raises errorCB when result is empty