New pipeline ordering

Now makes use of the explicit ordering of pipeline stages. Relates to https://github.com/sbt/sbt/issues/1302.