Fix postgresql installation

bump postgresql suggested version
fix Ec2LiveTest
add install postgresql repositories (yum or apt)