Changed variable type sent to callback in SerialReader function from int vector to string.
Added serialPort.availiable() control in serialReader function in order to avoid for loop repetition when no data are received.
Modified Timeout function parameters in openPort function for Linux OS.
Added flushInput and flushOutput functions in serialReader in order to remove unecessary data for Linux OS.