Added PhantomJS example to docs

Added an example of how to do headless testing with PhantomJS