Create serialib.cpp

This is a modified version of the "serialib" class found here:
http://serialib.free.fr/html/index.html

The Windows OS functionality is removed and some of the Timeouts are also removed.