Manual merged of pull request 288

Restructure webinos folder hierarchy.

Jira issue: wp-508
Do not try to register PZP with itself

This makes registerSender throw an exception if its from and to params
are the same, as it is not useful to try and register with itself. This
change makes it possible to bypass the following bug.

PZP code assumes the TLS port to connect with other PZPs is always the
same. Thus when using two PZPs on one host, these two cannot directly
connect as the port will be taken by the first. And the first PZP will
connect to itself.

Jira-issue: WP-250
Use "window" instead of "this"

In strict mode "this" inside a function doesn't become the window object.
Functions need to explicitely called with context. To avoid this, we use
the window object directly instead of "this". That's what non strict mode
does anyway.

Jira-issue: WP-564
Messaging as a separate webinos module

Jira Issue: WP-248