Add redering to stdout

Add reder to stdout.

The API design is discussed on : https://groups.google.com/forum/#!topic/phantomjs/wluVGGjhL90