Some bug fixes : 5017, 5047, 5087 and 5088

For 5017, do not forget to check out Silverpeas-Components...