Blue Potato Gratin with Mushrooms and Chard