moved torrent table parsing around to facilitate parsing in search (and remove dupe code). Added file table parsing where available
Merge pull request #16 from kiraboshi/refactor2

moved torrent table parsing around to facilitate parsing in search (and ...