Create check for QtSerialPort in common.pri.

The project can now be built without QtSerialPort,
but the tetris-eda and simulator subprojects will
be excluded from the build, and the Sensor class
not included in the sensor library.