Fixed some bugs during install
Merge pull request #88 from claroline/refactoring-for-unit-tests-kitan

Fixed some bugs during install