adapt to ClarolineCoreBundle 3.0