oops, I recorded these Changes wrong
spelling
create the pid_file dir if it does not exist

- steal the _create_resource_dir sub to create a generic dir
- re-use it to create the pid dir
- with a few more trace() diagnostics too
fix "Can't use an undefined value as an ARRAY reference at ... line 177" when exec fails and program_args is not defined
we can always determine the new $USER, from uid if necessary
Merge pull request #40 from karenetheridge/topic/morepatches_20130418

Topic/morepatches 20130418