Airlines have felt the growing demand for more pilots for years. Combined with the future shortages due to pilot retirement, they’re tackling the problem head-on.