dulwich: initialise ctree in each iteration, fixes issue16.
tests: suppress netcat's error messages.
store commitdate in mercurial's internal format.
cleanup dates handling.
dulwich: fix handling of negative time offsets.
use octal numbers for modes.
use explicit nullid.
don't fail while exporting commit with empty working tree. +test.