It's the age-old question. How long before I plan to fly should I book my tickets to get the best price?