Bug 1061215 - [Messages][Refactoring] Improve handling of remaining chars counter. r=schung

yeah but don't forget that merely reading textContent can be a costly operation (but ok, in that case, with no children element, it's probably not :) ). That's why it's important to look if check+possibly set is not more/less costly than a simple set.