Find API that is unused

Assist in API cleanup by finding published ("global")
functions/variables that are not used by other code.

This is a slightly cleaned up version of what was used in https://github.com/yast/yast-yast2/pull/141