Replace Types.isSubtype() with own implementation

Types.isSubtype() has an issue with the incremental compiler from eclipse. The replacement method just compares classes by name and is not affected by this issue.