- Removed the ifdefs from SerialPort.cpp
- Removed ifdefs from SerialPort.h.
- MOre removal of code.
- Changed SerialPort into a template.
- Templatised some register definitions.