Integrate notifications with PZH

Jira issue: wp-1036
Merge pull request #27 from TobyEalden/wp-1036-merge

Integrate notifications with PZH
PZH general functionality improvement

Following fixes:

- PZH - PZH sync functionality, information shared is connected PZP information and PZP serviceCache.
- PZH photo functionality change functionality
- PZH - PZH certificate exchange includes photo functionality
- During enrolment PZP friendlyName and deviceType added
- userPref and userDetails removed, userPref read from config.json and userDetails has information in trustedList
- If name is missing use emailid for nickname
- Duplicate friendly name check and generate a different friendly name
- Pzp ID if already used, suggest a different id
PZH - PZH trusted list changes
Sync across multiple PZH support
Corrected failed system tests
First time pzh connect, two way sync
PZH cross farm improvement

PZH certificate exchange contains added information about email

Jira Issue: WP-1221
Pzh certificate exchange in node v0.10

Node v0.10 adds rejectUnauthorized by default false, leads to issue during certificate exchange.