Bug 944249 - move the segment size and send button management to Compose

Just have a question about the comment for jshint: You add the new modules to new line for each, and I think it's a good idea to avoid the unnecessary conflicts in the future. But it looks weird to mixed different types of styling in same comment. Do you prefer we leave the old part as it is and add the new one to new line in the future?