This short comic someone made is just too good:
According to a MLP forum i'm on, Jayson Thiessen talked about the new episode at BroNYCon and about the ending:
"The ending of the episode had already been roughed in by Lauren; she had it covering mostly the same ground, with a bit more dialogue and a few jokes. But one of the boarders, as a gag, took it on himself one evening to mock up a complete shot-for-shot Star Wars ending version in full storyboard form. He brought it in the next morning and showed it to Lauren, who cracked the fuck up and said "Yes! Let's do that!"
They unfortunately had to cut it down for time, but that's basically it: some dude working on storyboards got them to change the whole thing around into a Star Wars gag just because it was funny as hell within the studio. In other words, yes, these guys are just having that much fun making this show. It's not about us and it never was. The Star Wars ending, and Discord, and chocolate rain, and Sondheim, and all of it... these guys are just being awesome because that's who they are. We're just along for the ride."