Fixed more cleanup of Attibute/Tag/Nick/Permission handlers when object is deleted.
Fixed an simplejson deprecation, switching to python json.