Fix issue #1385
Fix issue #1385

Solution:
+ don't modulo the given month_id
+ better/simpler class methods: Should not be called with invalid input (month or day (id or not) not valid).
+ For consistancy against everything : Use python newstyle class for Daterange and Timerange.
+ tests.

Python26 don't like dict comprehensions.

geektophe/shinken,lets-software/shinken,claneys/shinken,kaji-project/shinken,KerkhoffTechnologies/shinken,peeyush-tm/shinken,tal-nino/shinken,Aimage/shinken,claneys/shinken,rledisez/shinken,KerkhoffTechnologies/shinken,gst/alignak,mohierf/shinken,staute/shinken_package,lets-software/shinken,mohierf/shinken,dfranco/shinken,peeyush-tm/shinken,KerkhoffTechnologies/shinken,staute/shinken_deb,rledisez/shinken,dfranco/shinken,Aimage/shinken,geektophe/shinken,rednach/krill,lets-software/shinken,naparuba/shinken,dfranco/shinken,peeyush-tm/shinken,geektophe/shinken,tal-nino/shinken,fpeyre/shinken,kaji-project/shinken,staute/shinken_package,savoirfairelinux/shinken,tal-nino/shinken,tal-nino/shinken,KerkhoffTechnologies/shinken,titilambert/alignak,dfranco/shinken,Alignak-monitoring/alignak,Simage/shinken,savoirfairelinux/shinken,kaji-project/shinken,staute/shinken_package,staute/shinken_deb,ddurieux/alignak,mohierf/shinken,titilambert/alignak,mohierf/shinken,Aimage/shinken,ddurieux/alignak,staute/shinken_deb,claneys/shinken,geektophe/shinken,kaji-project/shinken,rednach/krill,rednach/krill,Simage/shinken,geektophe/shinken,savoirfairelinux/shinken,Aimage/shinken,Simage/shinken,ddurieux/alignak,gst/alignak,peeyush-tm/shinken,rledisez/shinken,staute/shinken_deb,titilambert/alignak,rledisez/shinken,Aimage/shinken,lets-software/shinken,savoirfairelinux/shinken,peeyush-tm/shinken,naparuba/shinken,ddurieux/alignak,Alignak-monitoring/alignak,titilambert/alignak,Simage/shinken,gst/alignak,ddurieux/alignak,claneys/shinken,dfranco/shinken,savoirfairelinux/shinken,staute/shinken_deb,rednach/krill,naparuba/shinken,peeyush-tm/shinken,mohierf/shinken,KerkhoffTechnologies/shinken,fpeyre/shinken,tal-nino/shinken,naparuba/shinken,rednach/krill,gst/alignak,staute/shinken_deb,kaji-project/shinken,Simage/shinken,staute/shinken_package,savoirfairelinux/shinken,KerkhoffTechnologies/shinken,geektophe/shinken,claneys/shinken,rledisez/shinken,dfranco/shinken,staute/shinken_package,Simage/shinken,kaji-project/shinken,tal-nino/shinken,staute/shinken_package,lets-software/shinken,fpeyre/shinken,rledisez/shinken,fpeyre/shinken,rednach/krill,ddurieux/alignak,claneys/shinken,fpeyre/shinken,fpeyre/shinken,kaji-project/shinken,Aimage/shinken,mohierf/shinken,lets-software/shinken,naparuba/shinken,naparuba/shinken