Add a parameter for menu-cached to specify socket path.
Handles menu-cached failures more gracefully in libmenu-cache.

1) fixed incorrect logic for restart of connection;
2) added 1 second delay before restart.
Fix menu-cached crash after menu-cache-gen failure.
menu-cache-gen: don't fail if <MergeFile> file isn't found, just skip it.