The law of August entrusts to the vigilance and authority of municipal bodies the task of obviating or remedying the unfortunate consequences that might result from the insane or the raving being set free, or from the actions of dangerous and ferocious animals.