Bacon, Onion, and Thyme Pie