Statistics Module Database migration

 WebUI and Content had to be modified as well to satisfy dependencies.
In fact get_amount_size_of_items function, for instance, has been moved from ContentLibrary to Database