Added command to purge addons from database (bug 999119)

I only use this once though?