Allowing to take screen captures with phantomjs.

With this pull request, screen captures can be taken from tests by using:

```js
window.top.phantomJSRobot.screenshot("myFile.png");
```

This is useful especially to debug more easily any phantomjs-specific issue.