Fixes shifted histogram encoding/decoding bug (which affected DoubleHistogram).

 - non-zero normalized index situations are now correctly encoded and decoded.

 - DoubleHistogram encoding cookies changed to make older logs loudly invalid (as they likely include corrupt values).