Use system binary if available

In continue to PR #67
Only helper script changed. Now it really refers to system binary if such exists. Using `which.sync` to determine whether binary exists.
Worked for me on both FreeBSD  and CentOS with and without phantomjs installed.
However I got "PhantomJS is already installed" message in both cases for some reason, please help testing this out.