Refactored code to introduce Transformer supertype to Learner.
Refactored eltype inference. Created OneHotEncoder.