Section 27. Such corporation, at a legal meeting called for the purpose, may vote to alter, enlarge, repair, rebuild or remove its house, or to build a new one, and may vote the money necessary for such purpose and for the purchase of the land necessary therefor; and such corporation at its annual meeting or at any other meeting regularly called seven days at least before the holding thereof, may grant and vote money necessary for the settlement and support of ministers or public teachers of religion, for sacred music, for the purchase and preservation of burial grounds, and for other necessary charges.