test_event_connect: Proper thread-safenass, fix test serialization for new eventloop api.
test_event_connect: Proper thread-safenass, fix test serialization for new eventloop api.

Change-Id: I95fcfb12b32bcc3a14d43b306fab3b600898d00f
Reviewed-on: http://gerrit.aldebaran.lan/32603
Reviewed-by: cgestes <ddb78fe00abb42f91254c16a0860e38eb0781789@aldebaran-robotics.com>
Reviewed-by: mnottale <e3ccf1b6558404e921a21fa09cebb1153b50ec36@aldebaran-robotics.com>
Tested-by: mnottale <e3ccf1b6558404e921a21fa09cebb1153b50ec36@aldebaran-robotics.com>

aldebaran/libqi,aldebaran/libqi,vbarbaresi/libqi,bsautron/libqi,aldebaran/libqi