fix and improvement on deallocation of memory in various stage of chaos framework

Signed-off-by: Claudio Bisegni <Claudio.Bisegni@lnf.infn.it>
MDS development
-added the suppor fro the management of attribute configuration for work_unit id

Signed-off-by: Claudio Bisegni <Claudio.Bisegni@lnf.infn.it>
MDS development
- completed the configuration of the dataset for a determinate unique id

Signed-off-by: Claudio Bisegni <Claudio.Bisegni@lnf.infn.it>
Merge pull request #68 in CHSBNDL/chaosframework from feature/CHSFRMWRK-34_unit_server_managment_on_mds to development

* commit '8a3d4cfa22ca24ac4d0ed6b16e483cfdbfe45376':
  MDS development - completed the configuration of the dataset for a determinate unique id
  MDS development -added the suppor fro the management of attribute configuration for work_unit id
  fix and improvement on deallocation of memory in various stage of chaos framework
fix and improvement on deallocation of memory in various stage of chaos framework

Signed-off-by: Claudio Bisegni <Claudio.Bisegni@lnf.infn.it>
MDS development
-added the suppor fro the management of attribute configuration for work_unit id

Signed-off-by: Claudio Bisegni <Claudio.Bisegni@lnf.infn.it>
MDS development
- completed the configuration of the dataset for a determinate unique id

Signed-off-by: Claudio Bisegni <Claudio.Bisegni@lnf.infn.it>
Merge branch 'development' of ssh://opensource.lnf.infn.it:7999/chsbndl/chaosframework into development
fix behavior of the mrs on unit server management and correct the new mongodb api usage

Signed-off-by: Claudio Bisegni <Claudio.Bisegni@lnf.infn.it>