An judge in Northern Ireland has ruled against a Christian bakery that refused to make a cake with the slogan "support gay marriage."