gdesktopappinfo: keep a list of files in the dirs
gdesktopappinfo: keep a list of files in the dirs

In each DesktopFileDir, store a list of desktop files for that
directory.  This speeds up opening desktop files by name because we can
skip statting in directories that we know don't have the file and also
speeds up _get_all() because we can avoid enumeration.

This also improves our support for dealing with names like
'kde4/kate.desktop' (equivalent to kde4-kate.desktop) since we find out
about all of these files are the start and don't need to guess about
which '-' to change to a '/'.  It also means that we can easily deal
with more than one level of such prefixes.

We use a file monitor to watch for changes, invalidating our lists when
we notice them.

https://bugzilla.gnome.org/show_bug.cgi?id=711520

ieei/glib,mzabaluev/glib,gale320/glib,Distrotech/glib,ieei/glib,cention-sany/glib,tchakabam/glib,tamaskenez/glib,johne53/MB3Glib,Distrotech/glib,johne53/MB3Glib,mzabaluev/glib,ieei/glib,endlessm/glib,tchakabam/glib,MathieuDuponchelle/glib,tamaskenez/glib,mzabaluev/glib,johne53/MB3Glib,mzabaluev/glib,krichter722/glib,ieei/glib,gale320/glib,lukasz-skalski/glib,krichter722/glib,cention-sany/glib,endlessm/glib,tchakabam/glib,johne53/MB3Glib,krichter722/glib,Distrotech/glib,gale320/glib,Distrotech/glib,endlessm/glib,tchakabam/glib,Distrotech/glib,ieei/glib,MathieuDuponchelle/glib,tamaskenez/glib,lukasz-skalski/glib,johne53/MB3Glib,cention-sany/glib,lukasz-skalski/glib,lukasz-skalski/glib,mzabaluev/glib,johne53/MB3Glib,tamaskenez/glib,cention-sany/glib,endlessm/glib,lukasz-skalski/glib,gale320/glib,endlessm/glib,MathieuDuponchelle/glib,cention-sany/glib,tchakabam/glib,tamaskenez/glib,krichter722/glib,MathieuDuponchelle/glib,krichter722/glib,MathieuDuponchelle/glib,gale320/glib