fixed #2228 reformat codes of cc.MouseDispatcher, cc.TouchDispatcher
Merge pull request #948 from dingpinglv/Iss2228_FixLayerBugForTouch

fixed #2228 reformat codes of cc.MouseDispatcher, cc.TouchDispatcher