Added usage statistics for users, organizations and hosts
Made the statistics gathering more flexible
Forgot to create usageStatistics for new objects
Fixes an error
Merge pull request #688 from dswd/accounting

Added usage statistics for users, organizations and hosts