David Moyes's disastrous time as Manchester United manager has come to an end after the club sacked the Scot just 11 months into his reign.