Fixed StringData repr() to support newlines and quotes.

Since this now uses Python's own internal repr() implementation, it should support any combination of characters at all.

Fixes ImageEngine/gaffer#837