Add option for generated PANDA secrets.

This changes the working in the new contact UI and adds a "Generate"
button in the PANDA flow. This is to support exchanging shared secrets
via email or IM which, while not as secure as other options, is a lot
easier.