Adds support for PGDATA changing

Commit implements a method for module to change location of PGDATA in /etc/sysconfig/pgsql. I've closed original pull request that had all commits together and I'm breaking it into few smaller additions.

Tested on CentOS 6.x  - PostgreSQL 9.x