WP-1083: Added a new file for platform interfaces
Manual merged of pull request 288

Restructure webinos folder hierarchy.

Jira issue: wp-508
Session variables are again exposed as it limit splitting functionality

- Code divided into smaller classes
- PZP websocket server requires now only 1 server
- It includes addition to run Synchronization Manager
- Separating out RPV code from the session code

Jira Issue: WP-545
Change all api services to use new webinos-rpc module.

Since all services need to implement RPCWebinosService they now depend on
webinos-rpc module where that interface is defined.

Jira-issue: WP-258
Device friendly name

Message sent to connected PZP and PZH

Jira Issue: WP-263
improve filter for zoneId

if the filter param to findServices has a zoneId property that is a string
array then these strings will be matched against the personal zone id,
which is the openid user account.

previously that zoneId could be a partial match. with this commit this
matches only if a string in the zoneId filter propertry is equal to the
zone id.

Example:
// will match services from zone foo@bar.baz
var filter = { zoneId: ['foo@bar.baz'] };

Jira-issue: WP-783
Public interfaces for the parameters exposed via PZP modules

All PZP modules are now following inheritance
P2P certificate exchange moved to a separate file

Jira Issue: WP-794
Moved webinos service discovery to a proper repository
Update rpc_servicedisco.js
split WebinosService into its own file

changes concatenation order when building webinos.js, the discovery code
now is at the very end. since the service modules need the WebinosService
interface, this code is split into its own file so it's availabe to them.

the call to instantiate the discovery is now also in webinos.servicedisco.js.

Jira-issue: WP-848
Jira Issue: WP-1024
Added following repos file in the webinos-utilities

Synchronization, messaging, webinos-api-serviceDiscovery and webinos-api-test has been moved to this module.

Jira Issue: WP-1024
Message handler forward handling change

Message handler if no session is present sends messge towards PZH. The change includes sending message inside same PZ to the session handler

Jira Issue: WP-1024
Messaging on message received, forward logic change

Jira Issue: WP-1024
Load service not by full path but by relative path

Jira Issue: WP-1024
Service handling and signed certificate separation

- PZP service loading to work if modules do not have test folder
- Signed certificate is stored in separated file and sync across PZ

Jira Issue: WP-1024
Removed message handler forwarding to the PZP directly

Jira Issue: WP-1024
PZP sync and connect to other PZHs

Jira Issue: WP-1024
Added webinos-api-test inside webinos utilities

Jira Issue: WP-1024
Merge pull request #23 from gguowei/wp-1083

WP-1083: Added a new file for platform interfaces