refactor CompilerMain into front and back ends, for Tortoise
Tortoise: simplify by only calling existing compiler's front end

now that the compiler has a hook allowing us to bail before the back
end runs