Allow to insert emojis at current character position

When user types or clicks on the tweet editor, we now keep track
of the latest caret position, so that emojis get inserted in
the right position. We make sure to append/prepend spaces
around the emoji if needed.