&#8216;Arrow&#8217; taps &#8216;Glee&#8217;s&#8217; Grant Gustin to play the Flash