If postgres configured then aws_registry use it

Unifying the how aws_registry.yml template and the
openstack_registry.yml template detect & setup
postgres.

Change-Id: I6362278abaea2674b804324b449a7b70fae19bec
Merge remote-tracking branch 'upstream/master'
Update bosh submodule