update for add securty
add documentation
add units test
add more test
Update RepositoryResolver.php
Merge pull request #9 from nchaulet/symfony-2.3

Security function