Add initial implementation for state machine
Merge branch 'state-machines' of github.com:killbill/killbill into state-machines