Yeah, Beguiler sounds optimal for what you want. It gets a lot of Rogue skills along with illusion and enchantment magic. And has a unique mechanic to use feinting (or anything else that costs a foe his dex to AC, but they get their feinting action cost reduced specifically) to add a small bonus to the save DC of their spells.