The Syrian Army has gained control of a strategic district in the suburb of the capital Damascus following heavy clashes with foreign backed militant groups.