Life Within the Leaf: Ecology and Applications of Foliar Bacterial Endophytes