Code modernization

Replaced all instances of % formatting with str.format. Also ran resulting code through a barrage of pep8 compliance fixes. Mostly code aesthetic changes.
I included the ability to change the degree symbol for someone who asked for it a while back. We should keep it in the current conditions string.