app: convert all stock IDs kept around by the core by icon names

Particularly GimpViewable's stock_id. Make sure old config files
containing stock IDs are still properly parsed.