Moved reconnecting tests into test/client.js
Reformatting.
Added retransmission of QoS 1 messasges from the client.
Added QoS 2 publish resend test.