Cast stats counts as integers (bug 997465)

Also:
- use a setting for the collector addon
- remove dbg from stats/manager.js

Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=997465
by doing that, we're going to loose some precision, right? Isn't it possible to still pass a decimal/string, and have that decoded properly on javascript's side?