Caster Level Looping
I'm going to open this answer by saying - there is no definitive rules text on how to treat, or in what order, stacking caster levels from classes or prestige classes. There is a general rule from the 3.5e FAQ that states that 'in general' one should apply bonuses in order most beneficial to the creature, but it's not exactly specific, or definitive, especially in this edge case.
Also, Caster Level Looping And You (by Bauglir) has how the CO people think all this works, also, nearly every way to multiplicatively increase Caster Level in the game.
It's worth noting that there are two ways to read this. One (the one CO likes) is that 'spellcaster level' is referring to 'caster level', and indeed, this is actually the way the game parses it in other abilities. But it could also be referring to 'levels in spellcasting classes', which means basically NONE of the shenanigans outlined here will do anything.
In my answer, I will be assuming the former, due to the way the question is asked. In the case of the latter, simply count up your class levels in arcane casting classes (which doesn't include PrC's that say '+1 level in existing blah', tough luck), and that's your CL for everything.
It's worth noting that former reading is not suitable for play or practical optimization in any sense. Neither are any of the other caster level loops, even (or especially) the ones that are written more explicitly.
But on to the questions.
Question 1
Alex is a Spellthief 2 / Wizard 16 / Green Star Adept 2 who possesses the feat Master Spellthief. What's Alex's caster level for his wizard spells?
Alex's Master Spellthief feat means his Spellthief CL is 18 (16 Wizard + 2 Spellthief) and his Wizard CL is 18 (''), before he takes any levels of Green Star Adept, 'when determining caster level for arcane spells'. So for arcane spells it's 18, otherwise it's the normal numbers - 2 for spellthief, 16 for wizard. This is fine, as the numeric effects of Arcane Spells is kind of what you want to use a caster level for as an arcane caster. But it's important to note that his caster level is still just 2, and 16, not 18.
So when he takes Green Star Adept, he adds his Green Star Adept levels (2) to his Wizard levels (16) to get his new Wizard 'effective caster level' (18). So he now has three things related to being a Wizard;
His Actual Wizard Caster Level: 16
His 'Effective' Wizard Caster Level: 18
His Wizard Caster Level For the Purposes of Casting Arcane Spells: 20.
There's no reason why 'effective caster level' would not be counted as a caster level for the purposes of Master Spellthief, so 2 + 18 = 20 = what you use as your CL for arcane spells cast either from the Spellthief class or the Wizard class.
Additionally, the Wizard has the spells known and per day of a 17th level Wizard, due to Green Star Adept's Spells per Day/Spells Known class feature.
Question 2
Bob is a Spellthief 4 / Wizard 15 / Knight of the Weave 1 who possesses the feat Master Spellthief. What's Bob's caster level for his A) spellthief spells, B) wizard spells, and C) knight of the weave spells?
And here starteth le fromage. Basically, Knight of the Weave's caster level is equal to Bob's Spellthief AND Wizard caster levels added together, but again NOT the Master Spellthief total, which is purely for the purposes of casting arcane spells only. So 4 + 15 = Knight of the Weave Caster Level of 19.
But whenever Bob casts an arcane spell, Master Spellthief kicks in. And it goes 'hmm what caster levels you got', finds Spellthief at 4, Wizard at 15, and some wacky prestige class called Knight of the Weave at 19, and then adds all those numbers together because they are all 'arcane spellcaster levels' and comes out with the absurd number of caster level of 38 for the purposes of casting arcane spells.
Question 3
Chris is a Bard 1 / Spellthief 1 / Wizard 8 / Sublime Chord 10 who possesses the feat Master Spellthief. She applies the sublime chord class feature spells per day to her wizard casting. What's Chris's caster level for A) wizard spells and B) sublime chord spells?
Sublime Chord sets all arcane casting classes Caster Level to 18, in this scenario, due to the wording of it's 'spells per day' ability.
Then along comes our good friend Master Spellthief, sees 4 Caster Levels (Bard, Spellthief, Wizard, Sublime Chord) set at 18. It goes, you know what? Let's add all those together, and end up with a CL for the purposes of casting Arcane Spells of 72.
Then everyone cries.
Question 4
Dylan is a Sorcerer 1 / Spellthief 4 / Wizard 3 / Ultimate Magus 10 who possesses the feat Master Spellthief. He applies the ultimate magus class feature spellcasting and extraordinary ability arcane spell power to his wizard casting when he can and his sorcerer casting when he must. What's Dylan's caster level for his A) wizard spells and B) sorcerer spells?
He starts out with Sorc CL 10, Spellthief CL 4, Wizard CL 11. He possesses a +4 to CL for the purposes of arcane spells. Master Spellthief turns his CL for all his arcane casting classes for the purposes of casting arcane spells into 25 (4+11+10). To which you then add +4. Master Spellthief (under the nice reading) sums the totals of your caster levels, not the totals of your 'caster level for the purposes of arcane spells', so UM's ability simply adds, it doesn't get multiplied across.
Question 5
Ethan is a Bard 1 / Sorcerer 1 / Spellthief 2/ Wizard 3 / Green Star Adept 2 / Knight of the Weave 1 / Sublime Chord 6 / Ultimate Magus 4 (or another more favorable combination you choose) with the feat Master Spellthief. He applies everything he can to his wizard casting until he can apply it to his sublime chord casting and everything he must to his wizard casting or his sorcerer casting, favoring wizard. What are his caster levels for his A) bard spells, B) sorcerer spells, C) wizard spells, D) knight of the weave spells, and E) sublime chord spells?
Why are you doing this to me.
Right. Following the FAQ guideline about adding things in most beneficial order, this is actually relatively simple. Ultimate Magus advances Sublime Chord 2 steps (you'd be better off just taking more wizard levels, you only care about highest non-sublime-chord CL when sublime chord is in the mix, and dipping as many other arcane casting classes as possible), putting total 'sublime chord levels' at 8. Sublime Chord adds itself to Wizard to determine your CL for ALL arcane spellcasting clsases, so all your arcane spellcasting classes now have a CL of 3+8=11. Green Star Adept adds +2 to Sublime Chord on top, so you end up with a CL of 13 on all your arcane casting classes.
Knight of the Weave now does it's thing. You can't have it do it's thing 'first' and then add sublime chord to it and then have everything be CL 22 or something because Sublime Chord adds itself to 'level in a spellcasting class', not 'CL'. So '+1 existing level' prestige classes etc mean nothing to Sublime Chord unless they are advancing Sublime Chord, since it determines it's CL based on class levels in another class + Sublime Chord levels/prestige class bonuses/stuff. Anyway, you've got 5 caster levels (Bard, Sorcerer, Wizard, Spellthief, Sublime Chord) and Sublime has set them all to 13. So, 5x13=65, +1 for your Knight of the Weave level, gives a Knight of the Weave CL of 66.
Master Spellthief then does it's thing when you go to cast a spell, as normal. 66+65= CL 131.
Then Ultimate Magus does it's Arcane Power thing for +2 more, giving you a final total of
CL 133.