Merge branch 're-add_idl_entity_check' into 'ibm-trunk'

Restore isIDLEntity check

I previously misread the isIDLEntity() check as being redundant compared to IDLEntity.class.isAssignableFrom(), so removed it.

However, isIDLEntity() only compares the interfaces directly declared on the class (not in its class hierarchy), and only compares those interface class for equality with IDLEntity (not merely if they're assignable to IDLEntity).

Thus, isIDLEntity() is a stronger check, which I now understand needs to be there.

See merge request !43