Updated scripts to compile Policy Manager

Jira issue: WP-331
Merge pull request #53 from smonteleone/WP-331

Updated scripts to compile Policy Manager
fix undefined existsSync call

improves orignial fix for WP-1169. existsSync for Node.js on Android is defined in 'path' module.

Jira-issue: WP-1169
Fixed crash during enrollment / friend list update

Added reference to "this" were requested inside policy manager constructor

Jira issue: WP-1184
Merge pull request #54 from smonteleone/WP-1184

Fixed crash during enrollment / friend list update
Fixed instance of native pm in decision storage.
Added check on parameters in pm.cc.

Jira issue: WP-1189
Merge pull request #55 from steverc/WP-1189-crash-with-prompt-blanket

Fixed instance of native pm in decision storage.
Fixed crash of decision staorage after introduction of generic uris.
Added check on parameters of reloadPolicy.

Jira issue: WP-1190
Merge pull request #56 from steverc/WP-1190-decisionstorage-crash

Fixed crash of decision staorage after introduction of generic uris.
Added control to monitor policy file changes

Jira issue: WP-1195
Adjust notifications code to use non-singleton pattern.

Jira issue: wp-1036
Initialisation with notification manager.

Tidy up all initialisation, and bump package version.

Jira issue: wp-1036
Merge pull request #57 from smonteleone/WP-1195

Added control to monitor policy file changes
Changed some console outputs

Jira issue: WP-1195
Merge pull request #58 from TobyEalden/wp-1036-merge

Integrate notifications with pzp/pzh
Merge pull request #59 from smonteleone/WP-1195

Changed some console outputs
Fixed requestor-id extraction

Jira-issue: WP-1222
Merge pull request #60 from ccameroni/WP-1222-fix-requestor-id-interception

WP-1222 Fixed requestor-id extraction
fix loop over array

Jira-issue: WP-1246
Allow prompt decisions to be actioned after prompt timeout.

This allows a policy prompt to be actioned at a point in time after the initial prompt has timed out, e.g. from the dashboard.

Jira issue: wp-1196