implement emscripten_get_canvas_size
emscripten_get_canvas_size testcase
Merge pull request #1556 from ToadKing/getcanvassize

Ability to get current canvas size