gaia: update documentation for histogram toolbox.

Also add a simple control for the bin width and a few tweaks for edge
conditions.