Add ol.dom.createCanvasContext2D function
Merge pull request #1934 from fredj/ol.dom.createCanvasContext

Add ol.dom.createCanvasContext function