Fixed workspace export bugs
Merge branch 'refactoring-for-unit-tests' of https://github.com/claroline/Claroline into refactoring-for-unit-tests