Frontier and Spirit will merge, establishing the fifth largest airline in the United States.