Tests and full example of a multistage algorithm.

The MultiStageMasterComputeTest test file includes a fully commented
example of how to employ the new multistage algorithm definition
facilities.