Runtime stack overflow prevention for Twines

Compile-time prevention of runtime stack overflow when concatenating Twines (infinite recursion). This doesn't seem a documented or intended behavior and can create subtle hard-to-debug problems. Please see the attached notes to learn more.