Group 17 is the most readily reduced elements on the periodic table, meaning that they are so close to being a stable elements, only missing 1 electron to complete their valance electron shell. Thus they will essentially react with anything to get that last electron!
Group 1 elements are extremely reactive because they are the most readily oxidized, they are very close to reaching stability by giving up only 1 electron. Thus they will react with almost anything to give up their electron.
Dark colored moths survived better in the Industrial Revolution because their dark color helped them camouflage in soot. When the industrial revolution ended there wasn't as much soot, so the light colored moths now had a better chance of survival.