Waste piled up for three weeks across Palestinian towns near Jerusalem, forcing residents to burn or bury rubbish.