Airline food has changed a lot since the early days of aviation, and it isn't just about tighter margins—health, terrorism and science play a role too.