Add support for a 'signup' phase in registering a PZH

Jira issue: WP-955
Refactor PZH WI to use passportjs for inter-zone communication

Some additional refactoring is also present.

Jira issue: WP-955
Stop marking all logins as 'internal'

Jira issue: WP-955
Refactor web authentication methods

Jira issue: WP-955
Support optional Facebook login to the PZH WI.

Facebook is now a valid identity provider.

Jira issue: WP-955
Rename facebook-config.json to config.json

Now the PZH Web Interface has a single config file.

Future improvement: allow it to configure where to connect to
the PZH TLS Server.

Jira issue: WP-955
Add twitter support

Jira issue: WP-955
Refactor web pages to deduplicate login.

This also fixes the issue that users could login with
Facebook and Twitter, but could only enrol/connect with
Google or Yahoo.  There are also some bug fixes.

Jira issue: WP-955
Add image support to user profiles

Jira issue: WP-955
Fix enrolment flow (remove enrolment guessing on PZH WI)

Jira issue: WP-955
Refactor the pzhadaptor code

The PZH WI adaptor code was horribly messy.  This makes it
slightly more readable.

Jira issue: WP-955
Further refactoring: moved files & fixed enrolment

Files have been moved and renamed to be more readable.
A flaw in enrolment was tested and fixed.

client-side javascript simplified.

Jira issue: WP-955
Made config.json empty
Merge pull request #1 from jplyle/refactor-peer-connections-openid

Refactor authentication in the PZH Web Interface