class template for transformer

We use this base class to a implement our classifiers. The benefit is that this adapts to sklearn protocols, so we can use our code with their pipeline.
Merge pull request #1 from mmalmir/patch-1

class template for transformer