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
Travis CI integration: fixes for rebase errors.

Some of my previous changes got lost in a rebase.  This
patch reapplies them.  These are mostly formatting issues
rather than real problems, although I did manage to
lose some changes.

Jira issue: WP-793
Merge pull request #491 from jplyle/travis-ci-testing

Travis CI Integration.
I'm merging this as it has to be done in conjunction with enabling the Travis build.  @habibvirji has approved.
Fix the travis config to properly change webinos_config.

The travis configuration is supposed to change the
port number of the PZH Provider to enable it to run as
a user.  However, the old SED script was flawed.  This
patch fixes the regular expression

Jira issue: WP-793
Merge pull request #492 from jplyle/fix-travis-build

Fix the travis config to properly change webinos_config.
Remove connected PZH from the trusted list

Disconnect the PZH
Removes from the pzh trusted list
Removes exchanged certificate
Other end also needs to remove PZH, till it does not remove PZH, PZH will try connecting everytime but will fail as other end has deleted cetificates.

Jira Issue: WP-715
Added sync to update pzp about removed PZH details

Jira Issue: WP-715