Convert Profile away from the deprecated KSharedPtr
Review Request #126437 - Created Dec. 20, 2015 and discarded
This converts Profile away from KSharedPtr which is deprecated in KF5. It eliminates some warnings. There is another instance of KSharedPtr in gwenview which I have had more difficulty converting.
I ran ./app/gwenview and everything mostly seems fine. I discovered a small bug in gwenview in the process but it seems to be in
the gwenview from Mageia as well.