Add ol.dom.createCanvasContext function

work in progress (testing)