If you keep changing your class and race on the hero creating screen, you can have all the spells that those classses and races can cast at the begining.Your last class and race doesnt matter(I guess, i tried only high elf -summoner and a dwarf - something).Not sure if its also adding the other stat bonuses but you should check it tho.