XSS Management

Introduce idea of tainted strings to Smarty.
Everything is tainted by default. Certain modifiers will untaint them.
Added a variable filter (taintwarning) which will emit an E_USER_WARNING if it is passed a tainted variable.

This functionality can currently be used to catch people failing to escape things.