Make CompactingMap.h more const- and style- compliant
make const as many as possible