Made some changes around the way versioning works

The way the system checks if a version is installed is to check /var/.db/.puppet for a version, so this will ensure the new version is installed.