* fixed int parameter sizes and some signed/unsigned warnings
* check whether m_port isn't NULL in ReadFromDevice
* stop the processor thread and delete the CSerialPort instance on exit
* added mutex in CSerialPort
* fix segfault on exit
* renamed libPlatform -> platform.
* stuck everything from libCEC in the CEC namespace to avoid namespace
polution