Added command to purge addons from database (bug 999119)