Core Worlds
Do draft discounts such as Science Guild apply when buying an Advancement card, and do Advancements count toward ending the Galactic Phase?
No on both counts. Buying an Advancement is not drafting, so draft discounts cannot be used, though Mining Coalition tokens can still be spent for Energy. Advancements are managed like Event cards and are not counted as cards in the Central Zone when deciding when the Galactic Phase ends.