The vote in the Down East school district followed a long and tense public comment period marked by frequent religious appeals on both sides.