polys: Added tests for PolyElement.cancel()
polys: Proper repr() implementations and added tests
polys: Cleanup in rings.py