The Chandra Deep Group Survey – cool core evolution in groups and clusters of galaxies