Originally Posted by
Wings of Peace
I realize you've already made up your mind which is good, but just to toss it out there so that you know your options:
Archivist 10/Sacred Exocist 1/Archivist 2//Warlock 12/Unbound Scroll 1
Will get you all the goodness of the Archivist and with Warlock allow you to craft scrolls for any spell you could ever want. It takes some feat shenanigans but progressing after Warlock into Unbound Scroll also reduces your casting costs meaning you can pretty easily learn any spell in the game.