540. Every local municipality may make, amend or repeal by-laws:(1) to prevent or cause to be done away with all abuses prejudicial to agriculture, and not provided for by law;
(2) to establish pounds, in which animals found straying on beaches, flats, roads or public places, or on the property of another than their owner, may be impounded.