Add better repr() support for mutations.

The repr() is now similar to the str() output, which makes it easier to
debug when printing lists.