Tried to make game render faster

Problem is with painting so many tiles.
clean code
Merge pull request #81 from Tadimsky/Level-Editor

clean some code
Added SpriteSheet class to split tiles into seperate images
Merge branch 'master' of https://github.com/Tadimsky/vooga
Started work on map panel - loading tilesets
Merge branch 'master' of https://github.com/Tadimsky/vooga into mergecosts
Moved factory into main game.
Pastry
Debugged mouse movement errors
Added debug statements to path finder - think there may be some error in here
Merged with master