Add EscapedTemplate for automatic variable escaping

Uses magic `__get`, `__set`, and `__isset` methods to provide protected variable
storage. Adds `raw()` method for accessing unescaped values.