Setup PZP msg handler again when PZH disappears.

Otherwise the msg handler tries to forward the msg and fails, because
it is not aware of the new name the PZP assumed after the PZH
disconnected.

Jira-issue: WP-50
Demo HTML clean ups

Split out the get42 example into its own file and include like all
other api examples as iframe in client.html. Fix meta tag error
for bluetooth hrm demo.

Jira-issue: WP-51
Merge pull request #15 from aldafu/WP-51-split-out-get42-html

Demo HTML clean ups
Merge pull request #14 from aldafu/WP-50-setup-pzp-msg-handler-after-pzh-disconnect

Setup PZP msg handler again when PZH disappears.
Jira Issue: WP-10
PZP-PZP Find Services
Changes Done:

RPC: Remote service search for connected peers
PZH_SessionHandling: PZPUPdate message sent after receiving PZP Details message from PZP
PZP_SessionHandling: Different state handling
Session_Schema: Schema not working commented out
PZP_Server: Handling find services in the data event
PZP_WebSocket: ConnectedApp of PZP called for updating address of websocket connection. Schema is not working commented out in the latest branch
Jira Issue# WP-10

Only hubless mode is working now.

Changes done:
- state of different pzp states handled correctly
- connected peer check in rpc now checks array length properly
Jira Issue# WP-6

Updated RPC to handle connected peer length correctly and also register service happens before PZP server is started
Added binding.gyp file as a default in webinos-gyp and webinos-buildall scripts.Now both scripts try to locate either a module.gyp or a binding.gyp file.
Merge pull request #17 from andreasbotsikas/webinos-gyp-locate-binding-files

Added binding.gyp file as a default file in webinos-gyp and webinos-buildall scripts
Jira Issue: WP-6 Webinos standalone

Changes Done:
1. Add node_modules jsormm, openid, qrcode, schema
2. Makefile to build, install, uninstall webinos
3. Moved demo folder to webinos/test folder
4. webinos.gyp builds all webinos modules and also creates webinos.js file. it compiles node as a static library and then build webinos executable
5. To reference other modules, no need to use dependencies.json but instead use webinos module. All modules updated to use this module

To build webinos
./configure
make
sudo make install

To run PZH
webinos_pzh

To run PZP
webinos_pzp
Jira issue: WP-52 - fix for changed constructor of geolocation api
Jira issue: WP-52 - added node_modules to git ignore
Jira issue: WP-52 - Fix for changed geolocation api
Jira issue: WP-52 - Ignoring node_modules
Jira issue: WP-52 - Fix for changed rpc

The rpc API was changed back in january (or around that time). This
change was never done in the XMPP code.
Merge pull request #18 from habibvirji/WP-6-WebinosStandalone

Jira Issue: WP-6 Webinos standalone
Merge pull request #19 from eelcocramer/wp-52-fix-xmpp-demo

Jira Issue: WP-52 - fix for xmpp demo
Use node.js's trim function.

Jira issue: WP-54
Merge pull request #20 from felixjendrusch/wp-54-webinos.path.relative

`webinos.path.relative` returns wrong relative path
Jira Issue: WP-10 PZP-PZP Service discovery

Merge remote-tracking branch 'upstream/master' into WP-10-PZP-PZP-ServiceDiscovery

Conflicts:
	webinos/pzh/lib/pzh_sessionHandling.js
	webinos/pzp/lib/pzp_server.js
	webinos/pzp/lib/pzp_sessionHandling.js
	webinos/pzp/lib/pzp_websocket.js