Change Tracker object orientation

I've changed Tracker.js to utilize closures, as Semmy suggested.  I've also updated the tests a little.