Attach a cause and cause_id to Actions.

This makes things clearer when manually reviewing Actions, and enables eventually fixing #24 by undoing blocks where the author unblocked.

cc @BooDoo for code review.