move version to one place only

Previously the version was a) specified in two places and b) not retrievable
from the dtcwt module at runtime. Move the version string to a single source
of truth to fix both of these.