menu-cache-gen: add support for next cache file version (1.2).

It supports now in cache contents:
- hidden directories (NoDisplay or empty);
- the Categories key;
- the TryExec key;
- the Keywords key.