Use a vector to chain Phases in the scala compiler.

Instead of chaining the Phases with a next and previous links use a vector to
simplify the Phases implementation.