The former boss of the agency that builds public schools in New South Wales is found corrupt by arranging lucrative jobs and contracts for his friends.