New method save() on repository

Fixes issue with lack of em->flush() call after new resource set
if there is only 1 condition `Argument::allOf` is not necessary