Fix process params to only accept StateMachine

It must accept all class that implement StateMachineInterface
Update Transition Process Param

It must only care to StateMachineInterface, not only to StateMachine, as the TransitionInterface I update to.
Merge pull request #56 from memtoko/polymorphic-fix

Make Transition Only Care to StateMachineInterface