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
Implemented functionality for reading configuration parameters from SD
card in Arduino MEGA board

Jira issue: WP-595
Add iot port in WEBINOS_ROOT/webinos_config.json file

Jira issue: WP-595
First stage of Arduino-HTTP driver implementation for actuators

Jira issue: WP-595
Add license and fixed indentation in sensors_actuars_driver for Arduino
UNO.
Set pin 13 as output in sensors_actuators_driver for Arduino MEGA

Jira issue: WP-595
Fixed bug in configureSensor. Fixed bug in sensor ID assignment.

Jira issue: WP-595
Implementation of interfaces
-- Interface DiscoveryInterface method
     PendingOperation findServices(ServiceType serviceType, FindCallBack findCallBack, Options options, Filter filter)
-- Interface FindCallBack method
     void onError(DOMError error)
-- Interface PendingOperation method
     void cancel()

This is part of a joint commit together with webinos-jsonrpc2.

Jira issue: WP-703
Jira issue: WP-684
Jira issue: WP-688
Jira issue: WP-301
Completed integration between actuator API and HTTP driver for IOT

Jira issue: WP-595
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
WP-528: Initial refactor of PZH to use express framework

This commit is not a complete working version: the PZH TLS server is
stubbed out.  Initial certificate exchange has been implemented.

Jira Issue: WP-528
WP-528: PZH Web interface now talks to the PZH, incomplete

Moved the folder the webinos/pzhweb as the pzh web interface is now
logically on a part with the pzp and pzh.

The PZHWeb interface now creates a TLS connection to the PZH

Totally insecure: the PZH isn't authenticating the PZH Web Interface

No message handling has been implemented yet
WP-528: Add reconnection capability to web server TLS client

The web server will now attempt to reconnect to the PZH TLS server
10 times before giving up.  This will be useful if any errors occur.

Jira issue: WP-528
WP-528: fix for reconnection capability plus minor changes to the PZH structure

This is part of the refactoring work on the PZH.  It provides an update to the
connection between the PZH Web Interface and PZH.

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

Wp 581 command line args