New method save() on repository, fixes issue with lack of em->flush() call
Method add() now invokes save() to avoid code duplication
Refactoring specs
Merge pull request #29 from bartekgruszka/fix-repository-set

New method save() on repository