add IntegerInterval comparator and fix merging method
make Histogram copyable and add const qualifiers on some methods