Even though the popularity and profitability of family-oriented films have always been strong, the variety offered is woefully thin. Superhero action, animation, and musicals comprise the vanilla-chocolate-strawberry choices, yet they almost always make for hefty returns because those are the only things offered. It isn’t often when something else that doesn’t fit neatly into any of these compartments comes out, and even rarer when it’s something as magnificent and mint pistachio as “Gifted.” Echoes of ‘Good Will Hunting’ Starting out like “Good Will Hunting” with a younger female lead, “Gifted” at various times takes on traits of “Kramer vs. Kramer,” “Little Man Tate,” and “I Am Sam.” These are all movies with heady subject matter that are frequently unsettling and dramatically tense, but screenwriter Tom Flynn and veteran video director Marc Webb (“500 Days of Summer,” two installments of the “Spider-man” franchise, the upcoming live-action remake of “Snow White”) regularly …