[T]he common council shall have full power and authority to make by laws and ordinances . . . relative to keeping and sale of gunpowder, nitroglycerine, and all other dangerous and explosive articles, or burning fluids.