A discovery in Morocco has unveiled the oldest Cerapodan dinosaur fossils on the planet – dating back 174 million years.