Encode the number of UTF-8 bytes in subvertpy.marshall.marshall()

Patch by Martin Panter

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Use “key in dict” syntax rather than dict.has_key()

Introduced in Python 2.2

Patch by Martin Panter
Fix errors with the contents of changed_paths from a log call

Patch by Martin Panter.