Added support for a custom base class.
Added base_import option to change the import of a custom base class.
Merge pull request #1 from dwnld/THRIFT-2896

Added support for a custom base class.