Fix objects to be compatible with hoomd 4.x, remove now deprecated modules (which were moved to hoomd itself).