OBMFULL-5675 reword getResourceEvents() sql query. Long story here
http://ci-obm.linagora.com/fisheye/cru/CR-4399.
OBMFULL-5675 Add missings licenses to some files in Services project