JC-1339 Fixed selecting inner text after insert  BB-codes (for FF and Chrome). Fixed focus textarea after inserting image.
Merge remote-tracking branch 'origin/master'