[Serial] Imported the serial related code.

Added a serial configuration dialog to the main window.
[Serial] Replaced the serial simulator by the actual serial listener.

Fixed a few issues with the serial port configuration.
Added a device indicator on the status bar.