multiple actions for :on option with `after_commit` and `after_rollback`

Closes #988.
Merge pull request #9356 from senny/988_multiple_actions_for_after_commit

multiple actions for :on option with `after_commit` and `after_rollback`