Bernard Foley, Quade Cooper and Will Genia leave Australian rugby