Refactor functions of log.
cc.renderContextType --> cc.renderType.
cc.CANVAS --> cc.RENDER_TYPE_CANVAS.
cc.WEBGL --> cc.RENDER_TYPE_WEBGL.