Changed torrent cache to use JSON for torrent info; closes #60, closes #61