Automatically perform PostgreSQL migration for dev env
A migration is performed if necessary as part of the update command.
Most of the migration code has been adapted from the
docker-orchestration's pg_upgrade.sh
. New code has been added to
detect the current and target versions and loop through all PostgreSQL
data volumes.
Closes: #172 (closed)