Merge vitalyeremenko's linux code
Linux - use JSON strings and add new commands
Mac - Overwrite cached icon for identical paths