National squad overcomes sloppy play to clinch third place in Group I, but Jerusalem match marred by racist jeers aimed at Arab midfielder Abu Fani