Cleanup the implementation of HTMLTableElement::GetCaption.
auto merge of #3863 : Ms2ger/servo/cleanup-caption, r=Manishearth