Adjust for obsolete msgid parameter

The callback function is now passes as argument 2 rather than 3 since the msgid parameter has been removed.

Jira issue: wp-956
Merge pull request #11 from TobyEalden/dashboard-prompting-03

Adjust for obsolete msgid parameter
Extracted appId from RPC call interception

Jira-issue: WP-486
Fix bug in rpc interception

Rationalise the policy manager enforcement response to a simple binary, based on 0 == permit and anything else is denied.

Jira issue: wp-956
Add compatible call on existSync to work with Anode

Jira Issue: WP-1028
Merge pull request #12 from TobyEalden/dashboard-prompting-03

Fix bug in rpc interception
Fix bug in prompt reply handling

Change prompt reply value based on 0 == permit and anything else is denied.

Jira issue: wp-956
Merge pull request #14 from ziransun/WP-1028

Add compatible call on existSync to work with Anode
Merge pull request #13 from ccameroni/WP-486-extract-appid

WP-486 Extract appId from RPC call interception
Merge pull request #15 from TobyEalden/dashboard-prompting-03

Fix bug in prompt reply handling