'peers' RPC command

This just adds a `peers` RPC command which outputs a list of the currently connected peers.

Also includes a fix to `core` to populate the PeerMap, making the peer data accessible.