adding @agmcleod changes + 'screencanvas' extension support

@see https://github.com/melonjs/melonJS/pull/190