[C++] added missing synchronization to MessagingTest
[C++] added missing synchronization to MessagingTest

Change-Id: I4e8cefbc8b8d37502bfdf4011f40df9757d4361c

bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,clive-jevons/joynr,clive-jevons/joynr,clive-jevons/joynr,bmwcarit/joynr,clive-jevons/joynr,clive-jevons/joynr,bmwcarit/joynr,clive-jevons/joynr