port changes from Gaudi Merge Request 166 (third try's the charm)
This PR allows building of Gaudi with local externals and solves GAUDI-1211. It also contains fixes for GAUDI-1212 which leads to fatal exception when pool size is -1 in ThreadPoolSvc.
(added missing files)