Added token whitespace helper to iris

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Added textNode writer helper to flex latex parser

Signed-off-by: Tom Wright <tom@inflatablecookie.com>