Placeholders in path +some fixes

https://github.com/brianium/paratest/issues/42 implementation

Also, i had a problem with running this tool on Windows because it printed environment variables just to command line. Passing `env` to `proc_open` parameter fixed it.