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

main concern was just useless code :) but if it's useful then fine !
(sorry for not seeing your previous comment, I haven't looked at the mails and I didn't take care to open the comments here..)