added log folder and pid folder configuration, added log file output to workers for Capistrano 3 and up

Added configuration for custom pid and log folder.
Added log outputs for each worker.