displays the number of characters left for the title in the composer

Meta: [Topic length too short](http://meta.discourse.org/t/topic-length-too-short/4707)

This PR modifies the character-left counter in the composer to take into account the restrictions on the title.