Added a permission check to the get_item_data() method of the karma manager; fixed a PHPDoc parameter list and got rid of some obsolete methods.
Adapted the testing code to work with the new karma manager, and fixed some bugs/mistakes that turned up in the process.