trac_interface: encode fields with utf-8 as well
also remove untracked directories after an aborted import patch
Merge in bug fixes for the dev scripts