Support JUnit xml reports for all connected devices

When running "spec --junit-xml", Instead of disconnecting the socket on the first TEST devile_log event, wait
for every connected device to report their results and then disconnects the socket.
fixes dbankier/TiShadow#178