Extracted appId from RPC call interception

Jira-issue: WP-486
Add compatible call on existSync to work with Anode

Jira Issue: WP-1028
Fix bug in prompt reply handling

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

Jira issue: wp-956
Allow Dashboard to pass from policy check
You need to expose a function to register local apis like ServiceDiscovery and Dashboard

Jira: WP-984
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
Update rpcInterception.js

Webinos PZP will set webinosPath, this is needed for system test
Merge pull request #17 from habibvirji/patch-1

Update rpcInterception.js
Update rpcInterception.js

last commit had error in one line. Corrected.

Jira Issue: WP-955
Merge pull request #18 from habibvirji/patch-2

Update rpcInterception.js
Added 'id' attributes to 'policy' and 'rule' tags

Jira issue: WP-932
Merge pull request #16 from cbotsikas/WP-984

Allow Dashboard to pass from policy check
Merge pull request #19 from smonteleone/master

Added 'id' attributes to 'policy' and 'rule' tags
Add missing callback call

Jira issue: WP-956
Corrected call to decision storage.
Jira issue: WP-1070
Merge pull request #20 from felixjendrusch/wp-956-missing-callback

Add missing RPC interception callback call
Merge pull request #21 from steverc/WP-1070-wrong-decision-stored

Corrected call to decision storage.
Fixed appId extraction

Jira-issue: WP-1075
Merge pull request #22 from ccameroni/WP-1075-fix-appid-extraction

WP-1075 Fix appId extraction