Refactoring for unit tests kitan

- checkstyle
- Refactored claroline.resource.converter