driver.phantomjs: Fix process reuse
coprocessor.phantomjs: Fix up url rewriting hacks. Clean temp files.