Fix code duplication in KisFilterConfiguration and KisPaintOpPreset
Mothods, related to local resources snapshots should be shared between
the classes. We cannot do it via class inheritance properly, because
they have different bases: KisPropertiesConfiguration and KoResource
correspondingly. They even use different kinds of shared pointers!
Anyway, now the mothods use the same codebase and the same API.