'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.
i'd make them distinct too -- `for pn, p := ...` and `for an, addr := ...`