Buying a plane ticket looks simple, but it depends on interconnected reservation systems and regulatory compliance.