update peerjs/Peer.d.ts

- Add some methods
- Wrap interface in a module