Ruling allows work to continue immediately for homeless shelter on site, orders Jaffa Islamic Council to pay legal costs to Tel Aviv municipality