Refactor the way compilation units work

This is a relatively large rework of how interactive compilation units work, and how reconciliation and other semantic actions happen. The main goal was to clean up the Play plugin implementation and make it easy for other scala-based DSLs to be implemented in the same manner as Play templates.

The bulk of the work is in the last commit, see comments there.
I associate with the `last` prefix that multiple source maps can exist, but its implementation does a lookup in a cache. I would rename it.