World leaders bid farewell to Israeli elder statesman and Nobel Peace laureate Shimon Peres at his funeral in Jerusalem, with US President Barack Obama hailing him as a giant of the 20th century.