Add event trigger before connecting

Fixes #84 - plugins should now use `candy:core.before-connect` to
register their event handlers.

Also fix a small documentation issue in `Candy.Core.Action`.