Adds support for local installation of phantomjs. Fixes #31