consolidated certificate views

This combines the embed and show views of the certificate (a task that has been kicking round for quite a while)