Merge pull request #41 from VisualSJ/Iss2416_RefactorRenderer

Issue #2416: remove element error
Issue #2416: Flags missing
1. DirtyFlags was not removed after run _syncStatus
2. cacheDirty was not add on TileMap
Merge branch 'Iss2416_RefactorRenderer' of http://github.com/dingpinglv/cocos2d-html5 into Iss2416_RefactorRenderer