Low: pgsql: fix not working when using capital hostname with corosync

decapitalize hostname to maintain compatibility with Heartbeat stack
Low: pgsql: fix changing pgsql-status when using maintenance-mode
Merge pull request #207 from t-matsuo/fix-pgsql-bugs

fix some bugs of pgsql RA