Use scale parameter to display concerned class

I also fix the scale to use OGC standardized scale denominator

I'm not sure about this
https://github.com/qgis/Quantum-GIS/pull/894/files#L2L194
finally I don't understand what this loop is for ...