Oslo has formalised its support for Palestinian statehood in a largely symbolic move that has infuriated the Israeli government.