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

reformat codes of cc.MouseDispatcher, cc.TouchDispatcher