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

Don't like that Compose.js is a bit jQuerish and hard to test :(