Fix autofs service resource for Ubuntu 14.04.

Use upstart for autofs on Ubuntu 12.04, too.
Expose layers and hosts in opsworks.js.
Unicorn should run using the user space ruby installation.

cr https://cr.amazon.com/r/2365416/
Make the port for Node.js apps configurable and make it available to apps as PORT environment variable.
Add X-Request-Start header to nginx/unicorn Rails app configuration for NewRelic request queueing
Test whether RAID is considered as clean.
Remove berkshelf cookbooks before running `berks vendor` again.
Include berkshelf's output in the Chef log.
Allow passing --debug to Berkshelf cookbook installation command.
Update list of versions for prebuild berkshelf packages.

cr https://cr.amazon.com/r/2385869/
Fix removal of berkshelf cookbooks when manage_berkshelf is false.
Changes to rails, PHP and Java to support RDS. Currently only rails
supports postgres

cr https://cr.amazon.com/r/2369582/
changed the php, rails and java cookbooks to use an attribute instead of
if/else in the template to handle the new port field in the database
config
changed default port on app/database info to be set by the deploy
cookbook, and fixed adapter field to reflect that it is now mapped in
the config JSON
added missing dependency on deploy cookbook to php and opsworks_java
cookbooks
added missing code to pass the java driver class to the webapp_context
template when the database is postgresql
changed rails adapter function to return mysql2 instead of mysql if an
RDS mysql instance is passed
Add create_dirs_before_symlink as app attribute.
changed rails cookbook to map adapter=mysql to adapter=mysql2 if using
RDS
Merge branch 'master-chef-11.10' into mainline-chef-11.10

* master-chef-11.10:
  Add create_dirs_before_symlink as app attribute.
  Fix removal of berkshelf cookbooks when manage_berkshelf is false.
  Update list of versions for prebuild berkshelf packages.
  Allow passing --debug to Berkshelf cookbook installation command.
  Include berkshelf's output in the Chef log.
  Remove berkshelf cookbooks before running `berks vendor` again.
  Test whether RAID is considered as clean.
  Add X-Request-Start header to nginx/unicorn Rails app configuration for NewRelic request queueing
  Make the port for Node.js apps configurable and make it available to apps as PORT environment variable.
  Unicorn should run using the user space ruby installation.
  Expose layers and hosts in opsworks.js.
  Fix autofs service resource for Ubuntu 14.04.