Updated default package version. Set download url to that mentioned at phantomjs.org
Have curl follow redirects
Add CentOS/RHEL specific package requirements