PhantomJS path resolution fix

Fixed bug where path to phantomjs in config file was not properly being resolved, causing running tests with phantomjs to fail in some cases.