Get rid of redundant calls to state transition hooks.

All the state transition hooks are handled in one place, with the sole exception
of the on_proposed hook.
Merge pull request #679 from VictorLowther/pull-req-master-3ad87c72b743e6a5474ec33caf2b57249b136059

https://github.com/crowbar/barclamp-crowbar/pull/679

Merged by devtool for cloudedge