initial code commit

A decent first draft :) Short and sweet, with a few performance-centric TODOs, and some extra tracker-finding code in `bountysource.js` to make those TODOs a bit easier.