Improvements to serial port class driver

- getline always adds '\0'
- operator>>() members for integer and double