Fix handling of link category boundaries with sorting of rows
Using QString.replace instead of .arg to ensure that %1 and %2 are unambiguously replaced with lower and upper value.  Also moving legend template to more sensible location, and adding tooltip for legend template
Changing decimal places to precision, allowing negative precision, improving rounding for locales with , instead of . for decimal point
API fixes to use Legend instead of Label where it makes more sense
Adding missing elements from SIP
Reverting to preferred QgsRenderRangeV2LabelFormat
Merge pull request #1599 from ccrook/CategorizedRendererFixes

Categorized renderer fixes