Revamp how buttons work.

They no longer have associated actions that redirect to a result URL. Instead, they only track when pushed, and current state. A future change will allow actions to be triggered from rules that track the buttons.
First pass email support.