Cast stats counts as integers (bug 997465)

Also:
- use a setting for the collector addon
- remove dbg from stats/manager.js
Merge pull request #135 from yohanboniface/bug-997465-count-as-integer-for-stats

Cast stats counts as integers (bug 997465)