“Community,” which has spent its six seasons on the brink of cancellation, has had the same conundrum with every season closer: making both a season finale that leaves room for more story, while at the same time making a series finale that ties up loose ends in case it truly is the end.