Pass current working directory to popen

- GH-68
- Helps PHP_CodeSniffer 1.5.0+ work in ST2
- Add some debug to help in the future