TinyMCE: move the caption and gallery toolbars to the right, fix selected gallery border/outline, see #27320

git-svn-id: https://develop.svn.wordpress.org/trunk@27579 602fd350-edb4-49c9-b593-d223f7449a82