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

Mmm, I've replied :)  https://github.com/mozilla-b2g/gaia/pull/23726#discussion_r17715635