Changes in CClientScript to make it extensible

I would like to suggest some changes in the CClientScript class code to make it easier to extend. Some properties of this class are ‘private’ what make it hard to extend without changing the class code itself.

For example the propertie $_hasScripts is very usefull for child classes but isnt useable since his visibility is private.