Fixed spritesheet loading method

Added an edgegame function that loads all the textures in a spritesheet
automatically, moved some variables from EMath to EdgeGame.