Added schema validation for policies (WP-27)
Fixed default policy and some jasmine tests

Jira issue: WP-27
Fixed policymanager.js
fixed reference and small indentation issues

Jira issue: WP-27
Removed wrong reads of "self" properties

Jira issue: WP-27
Changes in webinos configuration functions

It uses a single function to store and retrieve details.
Webinos_config.json is checked at every time webinos is started to see differences.
SetConfiguration generates CA for PZP and PZH. PZPCA is related to WP-39 but changes are introduced here.
Impacts PZP has master certificate signed by PZH. PZH now needs to load PZP signed certificate to allow authentication.

Jira Issue: WP-778
StoreDetails and FetchDetails implementation in PZP/PZH code

Jira Issue: WP-778
Certificate manager code changes to adapt to configuration changes.

Introduces getCertType and getKeyId functions to fetch client/server certificate type and key name respectively.
Removes declaring client or server certificate during signing process.

Jira Issue: WP-778
Webinos version addition in webinos_config.json

As part of running grunt, webinos version is added in webinos_config.json.
Update is also done to package.json if webinos version changes.
webinos_config.json can be now updated for port changes.

Jira Issue: WP-778
Updates to latest master changes

Jira Issue: WP-778
configuration changes for PZH

PZH instantiation requires user details especially emailid

Jira Issue: WP-778
Merging related error

Jira Issue: WP-778
Enrollment related and webinos version related issues

Jira Isuse: WP-778
Review comments

Jira Issue: WP-778
Merge branch 'master' into WP-27

Jira issue: WP-27
Fixed xml2js parsing issue.

Jira issue: WP-27
Merge pull request #487 from habibvirji/WP-778-webinos-version

Wp 778 webinos version
Initial travis-ci testing files

This commit also comments out a syntax error in the
SensorSpec test and adds jasmine-node to the list
of dependencies.

Jira issue: WP-793
Travis CI testing: fix .yml and package.json

Due to grunt changes and misconfiguration in the
earlier commit, the travis-ci build wasn't working.  This
commit changes .travis.yml and adds the right grunt
dependencies.
More travis.yml configuration for continuous build.

This time: made npm be more verbose and test both
node 0.6 and 0.8.  Also added node-gyp dependency.

Jira issue: WP-793
Create a Travis CI testing set-up for webinos

This commit adds a testing script (auto-test.sh) and then
references it from package.json.  It also adds a command-line
option to webinos_pzp and webinos_pzh such that they exit if
they have been started successfully (--test).  In addition, to
test the PZH, a travis-specific configuration file has been
added (travis_webinos_config.json) to change ports to high
numbers.  This needs fixing in the future.

Jira issue: WP-793
Minor fix to travis.yml

Jira issue: WP-793