Created new database function to save a list of measurements.
Created a new EndTrainningPacket.
Replaced the begin(read|write) methods in the TCPController class to (read|write)Async.
Mainscreen supports stopping a training session. Server will save all received measurements to the database when it received the endtraining packet.