Fixed input size counting, by including a newline counter.
Consistent character counting in all browsers and disables typing if there are differences in counting. Related to #3
Fix for newline counting
Merge pull request #4 from FnTm/master

Consistent counting and handling