Search by common-id case sensitivity

@jamesh I was looking at the snapd code yesterday, and I think, we can write the desktop files based on the common id which can remove many theming and icon related issues in both KDE and Gnome.