Added support for reader thread and recieve buffer
Added a member function to the serial port class to read data from the receive buffer
Added some more error/validity checking code to the SerialPort class
Added a test main function to the SerialPort repository
Added a pointer validity check to the SerialPort class
Modified the code to cancel the reader thread when the SerialPort object is destructed or closed