Speed up two-sided view for CL with large number of files.
Speed up two-sided view for CL with large number of files.

This puts an arbitrary limit of 1000 files on a CL but Rietveld barely works
with 500 files in a CL.

Review: http://codereview.appspot.com/5430050/

salomon1184/rietveld,robfig/rietveld,fuzan/rietveld,openlabs/cr.openlabs.co.in,gavioto/rietveld,aungzanbaw/rietveld,aungzanbaw/rietveld,ericmckean/rietveld,draem0507/rietveld,gco/rietveld,Koulio/rietveld,dushmis/rietveld,andyzsf/rietveld,foolonhill/rietveld,nareshboddepalli/touchites-codereview,DeanHere/rietveld,arg0/rietveld,Koulio/rietveld,salomon1184/rietveld,rietveld-codereview/rietveld,arg0/rietveld,aungzanbaw/rietveld,fuzan/rietveld,xtypebee/rietveld,nbodepallictr/touchites-codereview,nbodepallictr/touchites-codereview,kscharding/integral-solutions-smxq,draem0507/rietveld,andyzsf/rietveld,gavioto/rietveld,google-code-export/rietveld,nareshboddepalli/touchites-test,nbodepallictr/touchites-test,openlabs/cr.openlabs.co.in,salomon1184/rietveld,DeanHere/rietveld,v3ss0n/rietveld,supriyantomaftuh/rietveld,berkus/rietveld,xtypebee/rietveld,nareshboddepalli/touchites-test,gavioto/rietveld,berkus/rietveld,sajingeo/rietveld,berkus/rietveld,supriyantomaftuh/rietveld,nbodepallictr/touchites-codereview,fuzan/rietveld,foolonhill/rietveld,andyzsf/rietveld,v3ss0n/rietveld,dushmis/rietveld,xtypebee/rietveld,supriyantomaftuh/rietveld,robfig/rietveld,rietveld-codereview/rietveld,robfig/rietveld,arg0/rietveld,kscharding/integral-solutions-smxq,gco/rietveld,DeanHere/rietveld,gco/rietveld,nareshboddepalli/touchites-codereview,foolonhill/rietveld,v3ss0n/rietveld,google-code-export/rietveld,nbodepallictr/touchites-test,google-code-export/rietveld,ericmckean/rietveld,sajingeo/rietveld,Koulio/rietveld,draem0507/rietveld,rietveld-codereview/rietveld,openlabs/cr.openlabs.co.in,rietveld-codereview/rietveld,sajingeo/rietveld,dushmis/rietveld,kscharding/integral-solutions-smxq,nareshboddepalli/touchites-test,nbodepallictr/touchites-test,nareshboddepalli/touchites-codereview,ericmckean/rietveld