Check for blank lines when using the Phantomjs driver

Sometimes phantomjs emits a blank line at the end of running, which breaks the Teaspoon driver (because it tries to parse it as JSON, resulting in a nil object).  This is a simple fix to ignore any blank lines.