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 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
Rebase of Travis CI integration work with new Grunt version.

Jira issue: WP-793
Change Travis CI to use node v0.8 and fix dependency issues

Travis will now temporarily move the offending node_modules
files (e.g., expat.js) before installation.

Jira issue: WP-793
Travis integration

This commit also adds another exit case in the PZP.

Jira issue: WP-793

Add webinos test script to Travis config

This commit adds an automatic test harness which looks for
Jasmine unit tests and executes them.  There's also a whitelist
to select just tests that currently work.

In addition, this version removes the temporary travis
version of webinos_config and adds another test script.

Jira issue: WP-793

Moved the travis scripts to the tools/travis directory.

To keep the root directory clean, the testing scripts are
now in ./tools/travis.  A little neatening of code and comments
was also included.

Jira issue: WP-793