Bug 984811

As is the case with a very old cartridge, if both
OPENSHIFT_POSTGRES_VERSION and OPENSHIFT_POSTGRESQL_VERSION do
not exist in postgresql/env directory, create one with '8.4'.

Hard coding this value should be OK, since 8.4 was the only supported
version of PostgreSQL for the cartridge this condition ever applies.
Bug 980253 - Map illegal versions to 0.0.0

* Raising exception broke CDK which uses illegal version numbers
Merge pull request #3093 from BanzaiMan/stage_bz984811

Merged by openshift-bot
Merge pull request #3097 from jwhonce/stage

Merged by openshift-bot
Automatic commit of package [rubygem-openshift-origin-common] release [1.11.7-1].
Automatic commit of package [openshift-origin-cartridge-postgresql] release [0.4.8-1].