There's a lot you're asking, and I think you would get more responses if you were more specific with your questions.
When to upgrade?
PvT: getting double forge is usually the best option.
PvZ: Prioritise getting attack upgrades, but if your build doesn't involve a quick twilight council, getting 1/1 before +2 attack is fine as well.
However, if they go for a mass ling or muta/ling style you want to get double forge
PvP: If the game manages to get to 2base vs 2base, it's really up to you. Some people prefer double upgrades, I personally treat it like PvZ and don't get more than +1 armour until I'm at +3 attack.
Even the smallest donations help keep sc2sea running! All donations go towards helping our site run including our monthly server hosting fees and sc2sea sponsored community tournaments we host. Find out more here.