Whoopi Goldberg to Play Key Season-Ending Role on Glee