[COOK-4555] [issue-127] Adding db user fails and replication support
[COOK-4555] [issue-127] Adding db user fails and replication support

*In PostgresSQL 9.1, the REPLICATION and NOREPLICATION keywords
were added.
*Adding replication support causes earlier clients to see see a syntax
error causing failure for users to add. This was evident in issue-127
as well as the jira cookbook on centos6.
*This fix uses a pgsql function to check for the existence of
the replication keyword. If it does not exist, the options will
not be used, avoiding the syntax error and restoring proper operation.

miguelaferreira/database,RobertNorthard/database,burnzy/database,BarthV/database,opscode-cookbooks/database,chr4-cookbooks/database,GannettDigital/chef-database,axsuul/cookbook-database,chewi/database,GannettDigital/chef-database,Ecodev/database,chewi/database,h4ck3rm1k3/database,ovaistariq/database,rtenijenhuis/database,opscode-cookbooks/database,yakara-ltd/database,chef-cookbooks/database,seancoyne/database,miguelaferreira/database,RobertNorthard/database,seancoyne/database,seancoyne/database,philosowaffle/database,miguelaferreira/database,dwashko/chef-database,dwashko/chef-database,philosowaffle/database,h4ck3rm1k3/database,dwashko/chef-database,chewi/database,yakara-ltd/database,schubergphilis/database,BarthV/database,burnzy/database,theprobie/database,theprobie/database,axsuul/cookbook-database,rtenijenhuis/database,burnzy/database,Ecodev/database,schubergphilis/database,rtenijenhuis/database,Ecodev/database,BarthV/database,RobertNorthard/database,ovaistariq/database,opscode-cookbooks/database,yakara-ltd/database,chr4-cookbooks/database,philosowaffle/database,axsuul/cookbook-database,h4ck3rm1k3/database,ovaistariq/database,chef-cookbooks/database,schubergphilis/database,chr4-cookbooks/database,theprobie/database