util: iteration on state machines

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Merge branch 'state-machines' of github.com:killbill/killbill into state-machines