Added theme updating

I took a stab at it, but I'm not entirely sure that this will work... I just copied the plugin update code and then s/plugin/theme/.
The API documentation mentions serialized post parameters, and I am fairly new to python, so that's a little beyond my abilities at this time.
I might play with it some more to see if I can figure it out.