- now it is possible to change state by removing and add the same type of component as far as ` EntityStateMachine::changeStateTo` calls `m_entityManager->refresh(*m_entity);` two times - after removing old non permanent components and adding new ones
 - added `EntityStateMachine::isStateDefined` method
 - other minor changes and corrections for compilation on g++