_drawSceneForWebGL and _drawSceneForCanvas where almost identical

In CCDirector, both methods are almost identical. Refactored them.