Started to implement player movement, added bunch of helper functions to Entity, GameMap and Tile.