Modified functional tests to use phantomjs binary on path, and changed setup_ubuntu.sh to install phantomjs in /usr/local/bin