SvMemoryStream.remainingSize ret. size to end of data not buffer

SvMemoryStream remainingSize returned the size from current
position to internal buffer size instead to end of data. This
was not consistent with what remainingSize description says on
SvStream (and other SvStream implementations work) and what the
user expects.

Change-Id: I7ff391754a386c5f067a4bd4eed2ee7f2d7fd77e
No need to write '

Change-Id: I0562defc6fc60ee83bc73b901caf46b1283a9df9
mtfxmldump: move XML writing into its own function

Change-Id: I82954177fe9d4934e69b33c1c985304add09e089
XmlWriter: simplify and take SvStream* as input

Change-Id: I56b2fa6887f7971604a2dcf34497ecda9cea8937
initial implementation of XML dump for Primitive2DSequence

Change-Id: I6618b18164a26553f81a1c737e009b7187b028c3
SVG test: check content of Primitive2DSequence with the XML dumper

Change-Id: I12954cd52cece2d2fe99b7b4ca1e60cee3b430f0