Added Texture2D.java, a class that wraps GL textures with a more convenient interface.

Signed-off-by: Peter Mårtensson <veritas.is.me@gmail.com>
Fixed a few missing lines.

Signed-off-by: Peter Mårtensson <veritas.is.me@gmail.com>
Cleaned up some of the code using images.

Signed-off-by: Peter Mårtensson <veritas.is.me@gmail.com>
Laid out a lot of foundation work for animation, sprite handling and texture atlases.

Created a basic resource system that integrates with events.

Added a pause to compile.bat that only triggers when running the bat from the windows shell.

Texture2D now handles opengl textures.

Added a temporary testsprite class for trying out the dynamic resource loading.

Signed-off-by: Peter Mårtensson <veritas.is.me@gmail.com>