Question: Since Bagheera knows where the village is, why not just take infant Mowgli there and save everyone a lot of trouble?
Answer: He does say in the beginning of the movie that a village wasn't close by he knew where it was but it would have taken him several days to get the baby there. Plus the baby was going to need nourishment, or he would have died.
Question: Why did Shanti lure Mowgli into the village at the end? What was her reason for doing so?
Answer: The animals considered man a strange creature and did not understand their ways, like wearing clothes and shoes. They were scared when Mowgli brought them fire. They only knew jungle ways, they figured the humans would eat him, like any small creature left on his own. Plus they knew man as a hunter and killer.