'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.
you dont need to take a pointer to map types, theyre already psuedo reference types anyways