Extending tosr0x to support either Serial or WIFI access

I had a tosr0x relay module with WIFI access. I modified your original library to be able to access these relay modules either through Serial or WIFI. I also did a few other improvements.

At this moment I am using a board of 2 relays to control a blind in a remote home, by using open source openremote controller and its mobile application. I am also using it to build a simple thermostat...

It´s the first time that I use git and githib, and also the first time that I do some programming in python :-)

Thanks for creating the original library which helped me to get this new version very easily.
Alex