I think Sollozzo intended to kill Vito only because he saw that his son was hot for the deal.
Yes, Barzini matermined everything. He encouraged and supported Sollozzo's attempt on Vito's life. He sent his henchmen to do away with Sonny as well as being behind the attempt on Mike in Italy.