The singularities and birational geometry of the compactified universal Jacobian