Reduce badges to items listed in config

Created a config variable "badgeItems" where the item ids are stored that may
be used as badges. Also updated the api module, special pages and tests.

Bug: 40810
Change-Id: If3e7ed5af4009f028884368ec45045b6f691d396