Fixing phantomjs PATH check.
Adding travis-ci config