Improve 'oiiotool --stats' output for deep files: better sample histogram.

More readable output, lists 0-7 individually and then bins by powers
of 2, and prints both counts and percentage of pixels for each bin.
Fix raw bug -- open-with-config had the wrong function signature,
was missing a 'const' and therefore not properly overriding the base class.
Fixes #995.