Start implementing AI
Continue AI implementation.
Add ai component, ai system and some other classes.
Add states machine
Continue AI implementation
Fix for EventManager
Continue ai implementation
Merge branch 'ai'

Conflicts:
	src/Ecs/ComponentGroup.cpp
	src/main.cpp
Add dependencies for ai component
Add dependencies for movement and position components
Add CloseDeviceEvent to be catched when Irrlicht is closed
Add registerListeners method for scene
Application is now stopped by ALT-F4

Merge branch '3d' into application-base

Conflicts:
	src/main.cpp
Merge branch 'application-base' of https://github.com/stevenremot/tlsd-prototype into application-base
Lower ground triangles' resolution

This allows to run it on 60 fps even for slow computers
Fix sconstruct for Irrlicht at school
Fix type cast in Graphics

Dynamic casts cause segmentation fault
Implement borders for ground chunk models
Commit for the win

Signed-off-by: YohannL <yohann.lemoine.enst@gmail.com>
Merge branch 'application-base' of https://github.com/stevenremot/tlsd-prototype into application-base

Conflicts:
	src/Graphics/Device.cpp
Fragment ground height calculation

Split computeGroundHeight in several functions, to
centralize some code and ease readability