Put back requires in UniversalDetector
Rewrite for loop in UTF8Prober as a Ruby-like loop