Fixed a bug introduced by modifying the karma formatting method in the manager.
Improved the report_model quite a bit, fixing some TODOs and making it depend on the karma_manager instead of running SQL on the karma table itself.