Merge pull request #4 from mhlavac/master

Updated dependencies for Symfony 2.4
fixed typo in docs
fixed typo in docs
flush after persisting each entity
Added refresh to fix problem with entity relation dependencies