I7 3770K & GTX 570
I5 3570K & GTX 580
LOL, you can't go wrong. The 580 is a stronger gaming card. Both CPUs will game the same. Since you are mostly gaming go with the 580 at the same price.
But really, you can't go wrong with either pair with any normal monitor configuration.
edit: here's a photoshop benchmark http://www.xbitlabs.com/articles/cpu/display/core-i7-3770k-i5-3570k_7.html
69.5 vs. 68.2 seconds. Seems like a dead heat to me. You can also look at the other benchmarks, some the i7 is faster.