Moved around_transition out of protected block

cherry-pick commit from
https://github.com/pluginaweek/state_machine/pull/275
so it will work with rails 4.1.