Handling case when diff between min and max count is smaller than size
Handling case when diff between min and max count is smaller than size

Weights were not calculated correctly when difference between `max_count` and `min_count` was smaller than `settings.TAG_CLOUD_SIZES`. Changed calculation of weights to use floating point arithmetic. The results of weight calculations using old and new code are shown below:

http://ideone.com/fXs5aG
scarcry/snm-mezzanine,industrydive/mezzanine,vladir/mezzanine,frankier/mezzanine,Skytorn86/mezzanine,douglaskastle/mezzanine,dekomote/mezzanine-modeltranslation-backport,stbarnabas/mezzanine,readevalprint/mezzanine,ZeroXn/mezzanine,sjuxax/mezzanine,wbtuomela/mezzanine,douglaskastle/mezzanine,emile2016/mezzanine,AlexHill/mezzanine,Kniyl/mezzanine,dsanders11/mezzanine,PegasusWang/mezzanine,joshcartme/mezzanine,sjuxax/mezzanine,theclanks/mezzanine,ZeroXn/mezzanine,sjdines/mezzanine,industrydive/mezzanine,Cajoline/mezzanine,viaregio/mezzanine,SoLoHiC/mezzanine,emile2016/mezzanine,spookylukey/mezzanine,dsanders11/mezzanine,eino-makitalo/mezzanine,molokov/mezzanine,biomassives/mezzanine,sjdines/mezzanine,jerivas/mezzanine,wyzex/mezzanine,nikolas/mezzanine,stbarnabas/mezzanine,mush42/mezzanine,webounty/mezzanine,tuxinhang1989/mezzanine,vladir/mezzanine,agepoly/mezzanine,Cicero-Zhao/mezzanine,SoLoHiC/mezzanine,batpad/mezzanine,jjz/mezzanine,gradel/mezzanine,dustinrb/mezzanine,viaregio/mezzanine,theclanks/mezzanine,vladir/mezzanine,frankchin/mezzanine,cccs-web/mezzanine,agepoly/mezzanine,gradel/mezzanine,saintbird/mezzanine,mush42/mezzanine,stephenmcd/mezzanine,promil23/mezzanine,Cicero-Zhao/mezzanine,gradel/mezzanine,mush42/mezzanine,wyzex/mezzanine,Kniyl/mezzanine,damnfine/mezzanine,theclanks/mezzanine,cccs-web/mezzanine,dovydas/mezzanine,promil23/mezzanine,adrian-the-git/mezzanine,geodesign/mezzanine,wyzex/mezzanine,webounty/mezzanine,promil23/mezzanine,webounty/mezzanine,christianwgd/mezzanine,adrian-the-git/mezzanine,jerivas/mezzanine,dsanders11/mezzanine,geodesign/mezzanine,readevalprint/mezzanine,Kniyl/mezzanine,sjdines/mezzanine,saintbird/mezzanine,biomassives/mezzanine,agepoly/mezzanine,Cajoline/mezzanine,frankier/mezzanine,saintbird/mezzanine,damnfine/mezzanine,PegasusWang/mezzanine,tuxinhang1989/mezzanine,christianwgd/mezzanine,frankchin/mezzanine,batpad/mezzanine,jjz/mezzanine,industrydive/mezzanine,ryneeverett/mezzanine,scarcry/snm-mezzanine,AlexHill/mezzanine,SoLoHiC/mezzanine,wbtuomela/mezzanine,PegasusWang/mezzanine,christianwgd/mezzanine,frankier/mezzanine,viaregio/mezzanine,biomassives/mezzanine,tuxinhang1989/mezzanine,emile2016/mezzanine,readevalprint/mezzanine,dustinrb/mezzanine,fusionbox/mezzanine,ryneeverett/mezzanine,ZeroXn/mezzanine,dekomote/mezzanine-modeltranslation-backport,fusionbox/mezzanine,joshcartme/mezzanine,frankchin/mezzanine,spookylukey/mezzanine,wbtuomela/mezzanine,Skytorn86/mezzanine,Cajoline/mezzanine,eino-makitalo/mezzanine,geodesign/mezzanine,jjz/mezzanine,molokov/mezzanine,jerivas/mezzanine,sjuxax/mezzanine,douglaskastle/mezzanine,dovydas/mezzanine,spookylukey/mezzanine,Skytorn86/mezzanine,adrian-the-git/mezzanine,stephenmcd/mezzanine,scarcry/snm-mezzanine,stephenmcd/mezzanine,nikolas/mezzanine,dekomote/mezzanine-modeltranslation-backport,eino-makitalo/mezzanine,ryneeverett/mezzanine,dovydas/mezzanine,damnfine/mezzanine,dustinrb/mezzanine,molokov/mezzanine,nikolas/mezzanine,joshcartme/mezzanine