Update list item index while permuting.
Update list item index while permuting.

There are 2 cases when we have cached items outside the visible range: pinned
item and valiable height list. So handleDataModelChange must invalidate any
item, not only visible.

listIndex is only used with cachedItems and cachedItemSizes. Now thay are
consistently updated.

BUG=chromium-os:24626
TEST=Manual testing.

Review URL: https://chromiumcodereview.appspot.com/9221015

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@118080 0039d316-1c4b-4281-b951-d872f2087c98

timopulkkinen/BubbleFish,jaruba/chromium.src,ChromiumWebApps/chromium,mogoweb/chromium-crosswalk,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk,ltilve/chromium,bright-sparks/chromium-spacewalk,keishi/chromium,krieger-od/nwjs_chromium.src,ltilve/chromium,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,ltilve/chromium,zcbenz/cefode-chromium,ondra-novak/chromium.src,chuan9/chromium-crosswalk,markYoungH/chromium.src,dednal/chromium.src,Chilledheart/chromium,Jonekee/chromium.src,axinging/chromium-crosswalk,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,patrickm/chromium.src,littlstar/chromium.src,Just-D/chromium-1,Chilledheart/chromium,Pluto-tv/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Chilledheart/chromium,jaruba/chromium.src,robclark/chromium,rogerwang/chromium,hgl888/chromium-crosswalk-efl,rogerwang/chromium,junmin-zhu/chromium-rivertrail,PeterWangIntel/chromium-crosswalk,robclark/chromium,hgl888/chromium-crosswalk,rogerwang/chromium,junmin-zhu/chromium-rivertrail,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk,mogoweb/chromium-crosswalk,fujunwei/chromium-crosswalk,pozdnyakov/chromium-crosswalk,zcbenz/cefode-chromium,crosswalk-project/chromium-crosswalk-efl,hujiajie/pa-chromium,TheTypoMaster/chromium-crosswalk,M4sse/chromium.src,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish,ltilve/chromium,nacl-webkit/chrome_deps,junmin-zhu/chromium-rivertrail,timopulkkinen/BubbleFish,crosswalk-project/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,bright-sparks/chromium-spacewalk,dednal/chromium.src,PeterWangIntel/chromium-crosswalk,robclark/chromium,nacl-webkit/chrome_deps,rogerwang/chromium,anirudhSK/chromium,M4sse/chromium.src,ondra-novak/chromium.src,Chilledheart/chromium,Just-D/chromium-1,PeterWangIntel/chromium-crosswalk,Just-D/chromium-1,zcbenz/cefode-chromium,dushu1203/chromium.src,anirudhSK/chromium,axinging/chromium-crosswalk,dushu1203/chromium.src,krieger-od/nwjs_chromium.src,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,nacl-webkit/chrome_deps,ltilve/chromium,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,rogerwang/chromium,rogerwang/chromium,dednal/chromium.src,PeterWangIntel/chromium-crosswalk,ondra-novak/chromium.src,markYoungH/chromium.src,dushu1203/chromium.src,mogoweb/chromium-crosswalk,nacl-webkit/chrome_deps,pozdnyakov/chromium-crosswalk,Just-D/chromium-1,hujiajie/pa-chromium,anirudhSK/chromium,jaruba/chromium.src,ondra-novak/chromium.src,robclark/chromium,dednal/chromium.src,ChromiumWebApps/chromium,TheTypoMaster/chromium-crosswalk,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish,timopulkkinen/BubbleFish,ChromiumWebApps/chromium,Just-D/chromium-1,ltilve/chromium,dushu1203/chromium.src,fujunwei/chromium-crosswalk,anirudhSK/chromium,jaruba/chromium.src,littlstar/chromium.src,dednal/chromium.src,keishi/chromium,hujiajie/pa-chromium,ltilve/chromium,nacl-webkit/chrome_deps,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,fujunwei/chromium-crosswalk,pozdnyakov/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,krieger-od/nwjs_chromium.src,junmin-zhu/chromium-rivertrail,mohamed--abdel-maksoud/chromium.src,TheTypoMaster/chromium-crosswalk,hgl888/chromium-crosswalk,jaruba/chromium.src,littlstar/chromium.src,rogerwang/chromium,keishi/chromium,PeterWangIntel/chromium-crosswalk,Jonekee/chromium.src,Jonekee/chromium.src,dushu1203/chromium.src,ChromiumWebApps/chromium,zcbenz/cefode-chromium,patrickm/chromium.src,robclark/chromium,timopulkkinen/BubbleFish,fujunwei/chromium-crosswalk,robclark/chromium,Jonekee/chromium.src,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,rogerwang/chromium,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,chuan9/chromium-crosswalk,jaruba/chromium.src,bright-sparks/chromium-spacewalk,jaruba/chromium.src,bright-sparks/chromium-spacewalk,markYoungH/chromium.src,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,Fireblend/chromium-crosswalk,M4sse/chromium.src,crosswalk-project/chromium-crosswalk-efl,ondra-novak/chromium.src,rogerwang/chromium,ltilve/chromium,dednal/chromium.src,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,nacl-webkit/chrome_deps,Pluto-tv/chromium-crosswalk,dednal/chromium.src,markYoungH/chromium.src,mogoweb/chromium-crosswalk,keishi/chromium,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,jaruba/chromium.src,littlstar/chromium.src,dednal/chromium.src,mogoweb/chromium-crosswalk,junmin-zhu/chromium-rivertrail,zcbenz/cefode-chromium,junmin-zhu/chromium-rivertrail,hujiajie/pa-chromium,anirudhSK/chromium,keishi/chromium,hujiajie/pa-chromium,Jonekee/chromium.src,markYoungH/chromium.src,timopulkkinen/BubbleFish,timopulkkinen/BubbleFish,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,patrickm/chromium.src,Just-D/chromium-1,PeterWangIntel/chromium-crosswalk,markYoungH/chromium.src,Chilledheart/chromium,markYoungH/chromium.src,markYoungH/chromium.src,patrickm/chromium.src,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,M4sse/chromium.src,Chilledheart/chromium,fujunwei/chromium-crosswalk,dushu1203/chromium.src,chuan9/chromium-crosswalk,ltilve/chromium,littlstar/chromium.src,markYoungH/chromium.src,robclark/chromium,markYoungH/chromium.src,krieger-od/nwjs_chromium.src,mogoweb/chromium-crosswalk,hujiajie/pa-chromium,fujunwei/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,bright-sparks/chromium-spacewalk,nacl-webkit/chrome_deps,hujiajie/pa-chromium,Fireblend/chromium-crosswalk,littlstar/chromium.src,junmin-zhu/chromium-rivertrail,keishi/chromium,pozdnyakov/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Just-D/chromium-1,Chilledheart/chromium,ondra-novak/chromium.src,dednal/chromium.src,mohamed--abdel-maksoud/chromium.src,Fireblend/chromium-crosswalk,dednal/chromium.src,junmin-zhu/chromium-rivertrail,Fireblend/chromium-crosswalk,fujunwei/chromium-crosswalk,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,zcbenz/cefode-chromium,anirudhSK/chromium,bright-sparks/chromium-spacewalk,chuan9/chromium-crosswalk,M4sse/chromium.src,mogoweb/chromium-crosswalk,mogoweb/chromium-crosswalk,dushu1203/chromium.src,zcbenz/cefode-chromium,PeterWangIntel/chromium-crosswalk,dushu1203/chromium.src,zcbenz/cefode-chromium,junmin-zhu/chromium-rivertrail,zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk-efl,ondra-novak/chromium.src,Just-D/chromium-1,robclark/chromium,fujunwei/chromium-crosswalk,patrickm/chromium.src,anirudhSK/chromium,anirudhSK/chromium,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,jaruba/chromium.src,hujiajie/pa-chromium,ondra-novak/chromium.src,TheTypoMaster/chromium-crosswalk,Jonekee/chromium.src,chuan9/chromium-crosswalk,chuan9/chromium-crosswalk,M4sse/chromium.src,Pluto-tv/chromium-crosswalk,littlstar/chromium.src,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,Pluto-tv/chromium-crosswalk,krieger-od/nwjs_chromium.src,hujiajie/pa-chromium,markYoungH/chromium.src,mohamed--abdel-maksoud/chromium.src,bright-sparks/chromium-spacewalk,patrickm/chromium.src,Just-D/chromium-1,Chilledheart/chromium,ChromiumWebApps/chromium,chuan9/chromium-crosswalk,bright-sparks/chromium-spacewalk,krieger-od/nwjs_chromium.src,crosswalk-project/chromium-crosswalk-efl,anirudhSK/chromium,Fireblend/chromium-crosswalk,littlstar/chromium.src,bright-sparks/chromium-spacewalk,axinging/chromium-crosswalk,zcbenz/cefode-chromium,crosswalk-project/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,hujiajie/pa-chromium,patrickm/chromium.src,pozdnyakov/chromium-crosswalk,Fireblend/chromium-crosswalk,Jonekee/chromium.src,rogerwang/chromium,PeterWangIntel/chromium-crosswalk,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,anirudhSK/chromium,krieger-od/nwjs_chromium.src,jaruba/chromium.src,TheTypoMaster/chromium-crosswalk,hgl888/chromium-crosswalk,krieger-od/nwjs_chromium.src,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk,keishi/chromium,timopulkkinen/BubbleFish,hujiajie/pa-chromium,dushu1203/chromium.src,Chilledheart/chromium,axinging/chromium-crosswalk,jaruba/chromium.src,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,chuan9/chromium-crosswalk,nacl-webkit/chrome_deps,robclark/chromium,patrickm/chromium.src,ChromiumWebApps/chromium,patrickm/chromium.src,hgl888/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,anirudhSK/chromium,Fireblend/chromium-crosswalk,chuan9/chromium-crosswalk,krieger-od/nwjs_chromium.src,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk,keishi/chromium,ondra-novak/chromium.src,dushu1203/chromium.src,dednal/chromium.src,dushu1203/chromium.src,keishi/chromium,axinging/chromium-crosswalk,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,crosswalk-project/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,timopulkkinen/BubbleFish,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,Jonekee/chromium.src,robclark/chromium,axinging/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,M4sse/chromium.src,keishi/chromium,M4sse/chromium.src,nacl-webkit/chrome_deps,keishi/chromium,crosswalk-project/chromium-crosswalk-efl