Call enter of root state, log transition actions

removed old StateMachine code
fixed 'is' to '==' in test that was failing in Jython