Added some new functions to fmpq_poly for weak canonicalisation.