PZP state handling changes

Introduced getPzpModeStatus on the client side to find if PZP is in peer or hub mode. On the server side state and mode variable has been preceded by state which keeps track of mode states.

Jira Issue: WP-656
Removed xml2json from package.json

Updated sync manager to use xml2js
Moved openid to optional dependencies

Jira Issue: WP-692
webinos_pzp.js updated to use optimist to parse command line arguments

All the options and default value remain same.

Jira Issue: WP-581
Define command line options once

Combine command line option description and defaults. Always prefer
command line options before options from config file.

Jira-issue: WP-581
Merge pull request #3 from aldafu/WP-581-command-line-args

Define command line options once
Merge pull request #411 from habibvirji/WP-692-remove-xml2json

Removed xml2json from package.json
Merge pull request #412 from habibvirji/WP-656-PzpModeInfoToClient

PZP state handling changes
Policy and Widget start

Jira Issue: WP-581
Merge pull request #419 from habibvirji/WP-581-command-line-args

Wp 581 command line args
Policy manager: if no feature is associated to the method then allow.
Jira issue: WP-697
Merge pull request #423 from steverc/WP-697-pm-bugfix

Policy manager: if no feature is associated to the method then allow.
Merge branch 'master' of https://github.com/webinos/Webinos-Platform