Added abstract base classes for Peer and PeerList to allow for non-qt
testing.