The Sudanese army has announced that it has taken full control of the capital city, Khartoum, following a week-long battle to capture the presidential palace.