Qrings

Bug fix: 559
Added Qring when ideal has constant entry