A man has appeared at Edinburgh Sheriff Court charged with five counts of attempted murder “aggravated by reason of having a terrorist connection” after a series of attacks in Edinburgh on Friday.