Fixes to resource management

Moved context out of StateStack to Game.
Context is now supplied through update, draw, and handleEvent
functions.

Resource unload bug fixed.

Multiple state drawing bug fixed.