Fixed service totals and host totals
Fixed service totals and host totals

Hi!

The algorithm to get the % of OK services and OK hosts is wrong. There is a problem rounding the result. You will always lose precision with an amount of services greater than 100.

Here's an example:

```
>>> all_services = 9000
>>> problem_services = 20
>>> 100-problem_services*100/all_services
100
>>> # WTF! I have critical services and my status is still 100% OK? Mmmmm
...
>>> int(100-problem_services*100/float(all_services))
99
```

This avoid confusions at the currently dashboard (and maybe in other parts of shinken)
staute/shinken_package,mohierf/shinken,fpeyre/shinken,ddurieux/alignak,staute/shinken_deb,gst/alignak,Aimage/shinken,kaji-project/shinken,mohierf/shinken,tal-nino/shinken,gst/alignak,savoirfairelinux/shinken,mohierf/shinken,fpeyre/shinken,peeyush-tm/shinken,tal-nino/shinken,lets-software/shinken,Aimage/shinken,mohierf/shinken,Simage/shinken,staute/shinken_package,peeyush-tm/shinken,Aimage/shinken,mohierf/shinken,Alignak-monitoring/alignak,savoirfairelinux/shinken,Aimage/shinken,Simage/shinken,dfranco/shinken,naparuba/shinken,fpeyre/shinken,KerkhoffTechnologies/shinken,staute/shinken_package,titilambert/alignak,dfranco/shinken,fpeyre/shinken,lets-software/shinken,savoirfairelinux/shinken,dfranco/shinken,KerkhoffTechnologies/shinken,staute/shinken_deb,fpeyre/shinken,rednach/krill,naparuba/shinken,staute/shinken_deb,naparuba/shinken,peeyush-tm/shinken,rledisez/shinken,savoirfairelinux/shinken,geektophe/shinken,Simage/shinken,kaji-project/shinken,naparuba/shinken,titilambert/alignak,KerkhoffTechnologies/shinken,claneys/shinken,tal-nino/shinken,kaji-project/shinken,rledisez/shinken,fpeyre/shinken,rledisez/shinken,rednach/krill,ddurieux/alignak,lets-software/shinken,KerkhoffTechnologies/shinken,rednach/krill,claneys/shinken,Simage/shinken,rednach/krill,peeyush-tm/shinken,staute/shinken_package,kaji-project/shinken,ddurieux/alignak,ddurieux/alignak,dfranco/shinken,gst/alignak,Simage/shinken,claneys/shinken,tal-nino/shinken,gst/alignak,staute/shinken_package,Simage/shinken,KerkhoffTechnologies/shinken,claneys/shinken,kaji-project/shinken,geektophe/shinken,lets-software/shinken,naparuba/shinken,geektophe/shinken,savoirfairelinux/shinken,dfranco/shinken,rledisez/shinken,ddurieux/alignak,lets-software/shinken,claneys/shinken,KerkhoffTechnologies/shinken,kaji-project/shinken,Alignak-monitoring/alignak,Aimage/shinken,rledisez/shinken,titilambert/alignak,rledisez/shinken,Aimage/shinken,geektophe/shinken,claneys/shinken,geektophe/shinken,peeyush-tm/shinken,staute/shinken_deb,rednach/krill,kaji-project/shinken,mohierf/shinken,staute/shinken_deb,dfranco/shinken,tal-nino/shinken,savoirfairelinux/shinken,staute/shinken_deb,tal-nino/shinken,geektophe/shinken,peeyush-tm/shinken,naparuba/shinken,ddurieux/alignak,titilambert/alignak,lets-software/shinken,rednach/krill,staute/shinken_package