Manual merged of pull request 288

Restructure webinos folder hierarchy.

Jira issue: wp-508
Refactoring code for separate PZH web server Enrollment is working from PZH end. From PZH end all data is retrievable. PZH-PZH communication requires notification bit working.

Jira Issue: WP-528
Add "Seeing is Believing" cross-zone peer authentication Function [2] Integrate PZP peer discovery with SiB [3] Service sharing supports between cross-zone peers [4] UI at PZP landing page to demo the functions

Jira Issue: WP-346
Code clean up and format check

Jira Issue: WP-346
Certificate wrapper code: Remove headers that are not recognized by Windows

Jira Issue: WP-716
Fix complains on openssl nm introduced by openssl_init call

Jira Issue: WP-716
Correct Read pem file function call

Jira Issue: WP-758
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
Manual merged of pull request 288

Restructure webinos folder hierarchy.

Jira issue: wp-508
Refactoring code for separate PZH web server Enrollment is working from PZH end. From PZH end all data is retrievable. PZH-PZH communication requires notification bit working.

Jira Issue: WP-528
Pzp Enrollment Updated to match with changes to Pzh Web Server

Changes include: PZP Testbed sets Pzh Provider address, then TestBed redirects to Pzh Login, PZH then sets webSocket connection towards the PZP, sends token. PZP then sends CSR and token back to PZH to receive signed certificate.

Jira Issue: WP-528
Hostname was not set and correction in certificate.js

Jira Issue: WP-528
Add "Seeing is Believing" cross-zone peer authentication Function [2] Integrate PZP peer discovery with SiB [3] Service sharing supports between cross-zone peers [4] UI at PZP landing page to demo the functions

Jira Issue: WP-346
Code clean up and format check

Jira Issue: WP-346
Update per review comments

Jira Issue: WP-346
Update the PZH Web Interface to support issued SSL certificates.

The PZH Web Interface now supports an issued SSL certificate as well
as loading intermediate certificates.  It also uses a different key for
connecting to the PZH TLS Server (pzh.webinos.org:80) compared with hosting
an SSL web server (pzh.webinos.org:443).

Jira issue: WP-396
Improve certificate.js to selectively add webclient/webssl objects.

This is based on Habib's feedback:
https://github.com/webinos/Webinos-Platform/pull/447#discussion-diff-2828736

Jira issue: WP-396
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
Certificate manager error handling and tests

- Enabled certificate manager test in travis build
- Added conn.pem required for getHash test cases
- Certificate manager test scripts fixes

Jira Issue: WP-794, WP-816
Test case fixes and additions

Fixed certificate manager native tests
Fixed KeyStore native tests
Fixed webinos messaging tests
Added webinos configuration tests
Changed webinos initialization to suit testing

Jira Issue: WP-794