Code Cleanup

I cleaned up most of the code in server.py. It was more of an organization thing versus an efficiency thing. I have not even looked at the frontend code yet.

Most of things were just to make things consistent and become somewhat-compliant with [Google's Python Style Guide](http://google-styleguide.googlecode.com/svn/trunk/pyguide.html).

I did make the rain detection code much simpler using regex (yay regex).