From saving a split ganache to considering cocoa bean origin – pastry chef, cookbook writer and food stylist Liberty Mendez gives the lowdown on baking with chocolate