After revealing that she co-wrote the song with her ex Calvin Harris under a pseudonym, Taylor Swift graced fans with a performance of Rihanna's 'This Is What You Came For' at Friday's show