Fix #22.

Add signals for enter of every state and corresponding handlers.
Clients now should subscribe to signals of entering some state.
Finish Feature-fix-issue22