Move logging.basicConfig() and LC_ALL = 'C' out of RealMain()
Move logging.basicConfig() and LC_ALL = 'C' out of RealMain()

It gets in the way of scripts importing upload and calling RealMain() directly.

Review URL: http://codereview.appspot.com/4439056

riannucci/rietveldv2,riannucci/rietveldv2