OO-2172: refactor the spring configuration to be more Spring 4 friendly, remove the cycle generate by the properties injection, deployment of course and user in a separate module