PZP event handling - first step

Certificate and keystorage instead of callbacks work on Synchronous code

Jira Issue: WP-749