adjusts how phantomjs is located and run.

- tries to use a system installed version first.
- falls back to the gem if one isn't found.