XWIKI-9165: Error after the copy of XWiki.ClassSheet to a different space
* Use the #sheetTitle macro to display the sheet title to prevent recursive title display when the sheet is copied.
* Fix some of the places where XWiki.ClassSheet was hard-coded. Only one place is left, but needs to be edited after the sheet is copied.