BamResource::Dump(): skip empty BAM entries
Actor: Use AnimationFactory::ReleaseFactory() which takes care of
deleting the object if needed
Remove debug output.
Implement IDSResource::Dump().
Also Drop the data in IDSResource::Load() since we don't use it anymore.
Check for NULL in Resource::Dump(). Was causing a crash in IDSResource.