Add fedmsg messages for all actions.

Furthermore, create an abstraction over model.Log so that
the same action logs a statement to the DB and also publishes a fedmsg
message so we can be sure we are consistent about both.