Refactor compiler
More compiler refactoring

I'm trying to get the logic that builds Test::Steps right out
to the top, so we can inject it in.