Fixing 2 tests (empty activity and resource creation form error)
Fixing workspace export.
Merge branch 'refactoring-for-unit-tests' of https://github.com/claroline/Claroline into refactoring-for-unit-tests