Analysis: Since returning to the world stage after its civil war ended in 2002, Palestine and Western Sahara have been cornerstones of Algeria's foreign policy.