use old-style inheritance

python3 new-style inheritance seems to cause subtle bugs
with DAO tests
extensions can now be filtered by 'type'

currently supported types : incall, internal
Merge branch '5065_extension_type'