Check if registered types extend AbstractEnumType

Before adding them to registeredEnumTypes array. Otherwise we will have other custom types in registeredEnumTypes array.
Merge pull request #13 from suxxes/master

Check if registered types extend AbstractEnumType