Fix for AutoReg of WriteCondHandles by Algorithms
addresses 2 issues:
- don't retrieve the CondSvc unless an Alg has a WriteCondHandle. This will minimize some info printouts in various tests
- in tests, create Algs on the heap and delete at end, not the stack, as the CondSvc has no way to unreg Algs, and auto-deleted Algs created on the stack will cause it to segfault