Airline delays and cancellations are happening frequently. Here's how to avoid getting stuck if it happens to you.