"Masturbation was a sin. Sex before marriage was a sin. Homosexuality was a sin. Extra marital affairs was a sin. The only sexual act that was not a sin was sex between a man and a woman united in holy Matrimony."
sy
Correct teachings, one and all. 

"If you molest a child, you simply go to confession and have your sins forgiven and go out and sin again."

Sexual activity with a child is and has always been regarded as a very grave sin by the Church. Were you never taught that repentance and a firm commitment of amendment is necessary to validly receive the sacrament of confession? Indeed, one of the fears being voiced about Amoris Laetitia is that it undermines these core aspects of the sacrament.