Armen Sargsyan has been appointed president, completing the country’s transition to a parliamentary system.