-Ylog:X now only log phase X, use -Ylog:X+ to also log phase X+1

This supersedes #273.
Review by @odersky .
Ah I thought of a different spec. But yours makes more sense, I think. The change looks good.