fix corrupt saving of peers to persistent storage

persistent peer storage is actually broken before this commit, which
is what is preventing peer discovery from working right after a client
restart

peer discovery should now occur immediately after starting the client

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
Merge pull request #353 from benemorius/peerdiscovery-fix

fix corrupt saving of peers to persistent storage