added code for partitioned distributed tasks - not yet tested
finalized changes for the partitioned GetDist
Merge remote branch 'upstream/master'
Made GetTargets more robust. Renamed GenTargets1's dir placement.
Refactored GetTargets1
Renamed new cppbfs1/GetNbrCpp to app/cppbfs/GetNbrCpp1
Refactored GetNbr*
Renamed GetDist
Refactored in new code. Removed dead code.