Priam events

Added emitting of events from a `priam` instance to provide more visibility into its internal workings.