fixed an emit bug and added bittorrent-tracker to bittorrent-client

fixed a bug where bittorrent-client should emit the torrent not itself on metadata; also added preliminary support for bittorrent-tracker to bittorrent-client