Fixes PaginatedResutl#hasItems deprecation documentation to be more accurate on what to do.
Adds HTML clean-up logic to ReferentialText.