Some general fixes plus support for setting the version in debian.changelog files

Changes the version in the debian.changelog file is necessary if this is used in combination with tar_scm's versionformat parameter.