Implement a version check for docker
With 13.0, we started requiring users to upgrade to MAJOR.0 before upgrading to later minor releases.
The omnibus-gitlab packages stop upgrades that don't do this through the
config/templates/package-scripts/preinst.erb, which is not available on the docker image. We should come up with a check that works on the docker image.