added postgresql support to Java cookbook

cr https://cr.amazon.com/r/2564271/
added support for postgresql to php-related cookbooks

cr https://cr.amazon.com/r/2604631/
Improve the design of cookbooks for deploying rails applications to fix RDS support

cr https://cr.amazon.com/r/2567970/
Merge branch 'master-chef-11.4' into php-chef-11.4

Conflicts:
	deploy/recipes/java.rb
Remember already allocated UIDs.

Do not store known values.
Merge branch 'master-chef-11.4' into mainline-chef-11.4
Merge pull request #108 from abullrd/master-chef-11.4

Skip rails::configure for non-rails applications
Conflicts:
	rails/recipes/configure.rb
Merge remote-tracking branch 'github/master-chef-11.4' into mainline-chef-11.4

Conflicts:
	rails/recipes/configure.rb
Merge branch 'master-chef-11.4' into mainline-chef-11.4