erl_scan: add whitechar_text option

'whitechar_text' will only return a text attribute for whitespace literal
characters.