Fixes for Delphi XE4.
Merge branch 'HtmlViewer-11.4-to-11.5' of https://github.com/BerndGabriel/HtmlViewer into HtmlViewer-11.4-to-11.5

Conflicts:
	source/HTMLSubs.pas
More changes to get packages to compile in newer Delphi versions.
Repair a merge conflict that created a bug when adding support for XD4.
Facilitate inline expansion in some Delphi versions.