fix round-tripping of data through XML

Add a selftest of round-tripping data through XML (adding __eq__ methods
as necessary)

Fix serialization of Issue.dataid (through <issue data-id="">)

Fix typo in Issue.__repr__