Count newline as one character regardless of DOS/UNIX in validator.

By default wtforms won't do anything with input data and thus any input
with \r\n would return higher character count than what it should be.
Since they are two characters. While this behavior is correct in
developer's perspective, it seems wrong from the user's. This commit
simply sanitize newline before counting.