Bug fixes for "view terms" "view more" and the caption ellipsis

This is a compilation of the following commits:

89efe125a41428a0645df1d6dacf5a02de0cea93
62d21f0d6783e8bf2b976c097ea6c550e32003f3
f5d77badef57acf1f6074c75f2d5d5736a77e881

Change-Id: Ief9aa1c7e982ee21030380551b956c6435d665e9
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/987
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/988
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/985