Allow passing in the $type parameter of htmlspecialchars()

Engine-level option to override the $flags parameter to htmlspecialchars().  see bobthecow/mustache.php#146.

Possibly needs a better name for the parameter.