BugFix for AnyState => [State] transition codegen

… Without this patch, AnyState => [State] transition is not handled
with “No transition info found for transition” error message. To handle
transition from AnyState, we need to handle this case specifically by
passing null parameter. See StateMachine.transitions property getter.
change spaces to tab
BugFix for AnyState().OnChange(0) null ptr error

When we call eventManager.AnyState(0); without actually adding OnChange
would cause NullReferenceException.
Here is a small patch. :)
Merge branch 'anystate_codegen_patch'