Add methods to change canvas dimensions in game.js

Along with delegates to hook into the changes
save and restore context when on the debug draw of renderer.js