Switch to AlgorithmFactory.subscribe rather than registerAlgorithm

since the latter is now deprecated. Refs #970