Added mockery
Added mockery test case
Refactored query string handling
Merge branch 'master' of https://github.com/claroline/Claroline