Memory leak fixes and other improvements

Merged Sandro Christian Wenzel requested to merge swenzel/jalien-root:swenzel/leakfix into master

Fixing all mem leaks reported in and few minor optimizations.

No public behaviour announced by the ROOT TGrid interfaces is changed. Only things internal to JAliEn-ROOT implementation touched.

Edited by Sandro Christian Wenzel

Merge request reports