Make sure that the pid and log directories are created during setup_app

I needed the last versions of both rake-remote_task and vlad to include my last PR. Now it's done, I'm sure this will be quite helpful, I had unicorn crash on me a couple of times because of this issue.