Fix required entity option. Small CS fix and refactoring
Update README and composer.json
Merge pull request #19 from fre5h/fix-required-entity-option

Fix required entity option