Basic connections/reconnection to peers and exchanging peer data working

Conflicts:
	tests/CMakeLists.txt
Basic sync operation working, normal operation passing block messages around correctly.

Conflicts:
	tests/CMakeLists.txt
Additional logging, bugfixes that get the transition from synchronizing to normal
operation working in most (all?) cases