Composable Mechanisms, Learning, and Price of Anarchy in Auctions