The Globular Cluster M54 and the Star Formation History of the Sagittarius Dwarf Galaxy