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 don't know if it matters in this case, but length in the translated region is likely different than the original length. (see comment in [the play PR](https://github.com/scala-ide/scala-ide-play2/pull/228#discussion-diff-18162845)).