PZP state handling changes

Introduced getPzpModeStatus on the client side to find if PZP is in peer or hub mode. On the server side state and mode variable has been preceded by state which keeps track of mode states.

Jira Issue: WP-656