Merge pull request #224 from csmith/master

Raise certificate events.
Use lists not arrays.

This is required by the plugins change.