Remove DCP class and replace its functionality with a plain method in libdcp.