adding a function to list activated addons

This adds a simple function that lists all currently activated addons. I needed it for debugging, maybe it helps others to.