References: Update the implementation to match new Parsoid output
In T88290, Parsoid changed the way references are handled. Instead
of keeping the reference content (the HTML corresponding to reference),
now it is in references list.
- Updated the way reference content is accessed and shown in reference card
- Make sure reference list is added to translation when a section with at least one reference is added to translation.