Fix compilation of tetris-static.
Lots of work:

 * Changed QSerialPort usage to work with latest Git version.
 * Close serial port in Sensor destructor.
 * Clear serial port directly after opening, to avoid initial
   burst of data.
 * Turn Sensor::start/stop into slots.
 * Close serial port properly in Simulator.
 * Stop simulator when end of input file is reached.
 * Check for write errors in simulator.
 * Change application names to "Tetris EDA" and "Tetris Static",
   so that their configs are saved separately in ~/.config.
 * Add a settings dialog for setting the serial port
   location. (And later also the Monitor TCP port).
 * Show the sensor status in the main window.
 * Create the Sensor from Window instead of main, and
   run it in a separate thread.
Fix comment.