Archibald Macaulay, Lord Provost of Edinburgh (1727–1729, 1737–1738 & 1748–1750)