also restore style for file based layers (followup dfff717a0) and
use file name for GeoJSON layers (fixes #10711)
ftools: field uniqueness fix (fixes #11523)
fix graduated renderer crash (followup 6de53e51b)