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