Refactoring repositories test

Repositories are fully tested.

New tests must extends Claroline\CoreBundle\Library\Testing\RepositoryTestCase
Every fixtures must be loaded in the setUpBeforeClass function.