More cleanups.
Fix and update the ILM tests.
Add inital working with spells going thru transform + emit and generating events.
Rename templates/ to examples/.
Fix merge.