Improve label conversion. Other cleanups.

New labels in the config are now imported. Tickets use the import field
to convert labels. Started work on comment conversion. Several code
simplifications.