Control Barrier Functions and Input-to-State Safety with Application to Automated Vehicles