New method save() on repository

Fixes issue with lack of em->flush() call after new resource set
@norzechowicz ``get()``, ``save()``, ``add()`` and ``remove()`` are generic operations on value repository. Implementation of ``add()`` and ``save()`` are the same only for the doctrine implementation. This will not necessarily be the case for other implementations.