The article linked by Daniel cites this one Article Effects of Cannabis Use on Human Behavior, Including Cogniti...
directly addressing some of your questions. I couldn't find again a more recent study showing that long term consume of THC enhances the vulnerability to develop psychotic episodes or full (chronic) psychosis. There are various tests (IQ, recognition, attention, etc.) showing declined scores for patients who have undergone one or more of these episodes.