Now installing phantom js when "PHANTOM_JS_ENABLED" environment variable is set. This is required because we do not only want phantom for behat tests but also for karma frontent tests.