Move version definition to dogapi.__version__.