Rookie coding mistake prior to Gab hack came from site’s CTO