A songwriting course based on the work of Taylor Swift is to be offered at the University of Texas at Austin, with albums such as 'Red' and 'Evermore' on the syllabus.