Draft: Generalize postgresql role
This commit removes specific synapse related stuff from the role and puts it into variables. Thus the role can be reused for other tasks more easily.
The merge request is prefixed as draft because I currently can not test it against fsmi-matrix.cs.upb.de.