make PeerManager and Connection instances configurable
fix PeerManager example
fix and improve SendTx example
Merge remote-tracking branch 'maraoz/refactor/PeerManager'

Conflicts:
	Connection.js
	PeerManager.js
fix "config" vs "options" vs "opts" bug