I would say there is a strong chance the pump is knackered the banging and the stat cutting the boiler off is caused by the latent heat at the boiler end i.e the pump is not circulating the heat away from the boiler quick enough hence it bangs, overheats, cuts off. Change the pump.