Dozens of people have been prosecuted for breaching gas safety laws by working on appliances in the past several years