Refactoring ResourcePropertiesController.
Merge pull request #91 from claroline/refatoring-for-unit-test-nico

Refactoring ResourcePropertiesController.