Network motifs in context: An exploration of the evolution of oscillatory dynamics in transcriptional networks