Better stacking logic for percentage stacked areas. Partly solves #2197.
Fixed Highstock issue where data grouping would stick and be applied when not necessary after showing a time range where it was necessary. Closes #2110.