UN agency for Palestinian refugees says group making accusations has history of slandering UNRWA, but admits that some of posts uncovered may have violated its code of conduct