Moved the version information into its own module.

This makes it easier to update the version because we only have to
update it in one place.
I don't really understand the STAGE thing.