remove obsolte methods

TlvDataObject.isPrimitiveTLVObject() and isConstructedTLVObject are used
only to chekc the object type before casting. This is better implemented
using the instanceof operator to ensure that the cast works without
problems. Beside of this usecase the two methods are obsolete and now
removed.