Pool event proxying - pass in peer and emit `blocks` and `txs` event from INV

This patch will emit `blocks` and `txs` on pool which give the raw txs and blocks from the INV packet. Also, `peer` is now passed in as the second parameter of all the proxied peer->pool events. Also some very minor fixes in here for chain.js.