Skip rails::configure for non-rails applications

This change prevents the rails::configure recipe from
attempting to restart non-rails applications deployed
on the same instance.

The same solution is used in the other app server configure
recipes- php::configure, opsworks_nodejs::configure and
opsworks_java::context
Changed rails::configure skip log message
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/
added postgresql support to Java cookbook

cr https://cr.amazon.com/r/2564271/
Bump default passenger version to the latest bugfix release 4.0.46.

cr https://cr.amazon.com/r/2649697/
Enable Java apps without a DB backend again.

Set local vars in case of no database type given.
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 mainline-chef-11.4
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
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
Some fixes for PHP deployment and DB handling:

* Skip non-php apps when installing the PHP db drivers
* Fallback to MySQL driver
* Handle apps with no database config