The answer given is a rogue-mage.
It is a popular pick for good reason: you get stealth and a blade for the damage, plus enough magic to handle locks, healing and anything that resists steel. If you want one class that covers most situations without specialising too hard, this is it.