py: DB.is_broken
factorizing the py api
C api: addng _contains variants for containers
pyapi: Elf class
c api: replacing elfs by index
py api: object access for packages