Add NOWDOC tokens to the list of HEREDOC tokens to treat them equally

NOWDOC and HEREDOC are basically the same but aren't treated like that.

Also, ignore "space before ," when the token before the whitespace is
a HEREDOC or NOWDOC.
Updated changelog + unit tests + made the error location more accurate