add imageToCanvasContext, can dry up code in PixelMap and Sprite
fix imageToCanvasContext
remove experimental buggy DOM-sprite support