Extract Browser (not installed) application ID

Jira-issue: WP-1172
Merge pull request #46 from ccameroni/WP-1172-extract-browser-application-id

WP-1172 Extract Browser (not installed) application ID
Get data for generic URI

Added events and event handlers in policy manager to
receive from PZP data required to manage generic URI

Jira-issue: WP-1174
Removed warnings visible while compiling with __WEBINOS_DEBUG

Jira issue: WP-1177
Merge pull request #47 from smonteleone/WP-1177

Removed warnings visible while compiling with __WEBINOS_DEBUG
GenericURI support for PZ-Owner and known PZHs

Added support, in the native code (and node.js wrapper) of policy
manager, for the following Generic URIs:

http://webinos.org/subject/id/PZ-Owner
http://webinos.org/subject/id/known

Jira issue: WP-332
Merge pull request #48 from ccameroni/WP-1174-get-data-for-generic-uri

Get data for generic URI
Merge remote-tracking branch 'webinos/master' into WP-332
Put calls to PZP inside a try/catch to avoid crash

Jira issue: WP-1174
Merge pull request #49 from smonteleone/WP-1174-get-data-for-generic-uri

Put calls to PZP inside a try/catch to avoid crash
Merge remote-tracking branch 'webinos/master' into WP-332
GenericURI support for PZ-Owner and known PZHs

Added support, in the js code of policy manager, for the
following Generic URIs:

http://webinos.org/subject/id/PZ-Owner
http://webinos.org/subject/id/known

Jira issue: WP-332
Merge pull request #50 from smonteleone/WP-332

GenericURI support for PZ-Owner and known PZHs
Fixed crash on schema check

Uncommented JSV and env in lib/policymanager.js

Jira issue: WP-332
Merge pull request #51 from smonteleone/WP-332

Fixed crash on schema check
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