fix the directory or file not found bug when there is cwd key in JSON app declaration
small changes
Merge branch 'master' of https://github.com/Unitech/PM2 into fix_cwd_bug
Merge pull request #836 from treblam/fix_cwd_bug

Fix the wrong base path bug when there is cwd in JSON app declaration