Added a utility method to create a logs directory for the application.  Reconfiguring build pack to put logs in this location because  seems to be going away.
Updated anything writing to the top level logs directory.  Now writes to a logs directory that is under the application directory.  This is mainly pid files and build pack logs, but there are a few components which cannot write to stdout like php-fpm.
Switched from using VCAP_APP_PORT and VCAP_APP_HOST to PORT and a hard coded value of .  This is because the trend seems to be to use PORT instead of VCAP_APP_PORT and because VCAP_APP_HOST is always .