added states managing
replaced some files
Update DXStateMachine/Code/DXStateDefines.h
add before and after state setting handlers and transition methods to state machine