New internal webinos API for intrazone notifications.

The new api 'zonenotification' is hosted by the PZH and then can
be subscribed to by web applications.  This can be used by the
webinos system to trigger notifications on key events, such as
a new user requesting access to the personal zone.

An example function is contained in pzh_webSessionHandling.js
for how to invoke notifications.

Jira issue: WP-523
Add notifications for new personal zone access requests.

The zonenotifications API is now used in the webSessionHandling
file to notify all interested applications when a new user has
requested access to the personal zone.  It provides a URL that
the user should be able to click to approve or deny the
request.

Jira issue: WP-523
Tests for the intrazone notification API.

These tests currently just make sure that the service is
discoverable and has basic elements.  Integration testing
is required.

Jira issue: WP-523
Update tests for the zone notification API

Added the test script to the 'monitortests.html' file
Fixed an incorrect test because 'unBindService' doesn't
exist.

Jira issue: WP-523
Add notifications for internal PZH->PZH connection requests

The new intra-zone notification system is triggered when
a new person attempts to connect to the user's personal
zone.

Jira issue: WP-523
Merge pull request #472 from jplyle/Intrazone-Notification-API

Intra-zone notification api
Rename grunt build file

Jira-issue: WP-779
Update to use grunt 0.4.x

Change directives code to grunt template syntax. Register new grunt modules
as tasks. Update default and minify task to use updated tasks. Add grunt
modules to package.json.

Remember to switch from grunt 0.3 to grunt 0.4 use:
$ npm uninstall -g grunt
$ npm install -g grunt-cli
$ npm install # from webinos dir to install new grunt deps

Jira-issue: WP-779
Merge pull request #473 from aldafu/WP-779-update-to-grunt-0.4

Wp 779 update to grunt 0.4
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