Added separate methods for getting stats
Created proper methods for getting statistic
Cleared table from stats, making ajax stats query
Ignore 'log' directory
(cherry picked from commit 9058b17b3d815ea7d8958c385cf447365b71f82b)
Code cleanup
Stats calculation now works (but not tested)
lastaction member stub
Implement get_name method override for the Directory object
Hide placeholders and table headings until the table is loaded

To indicate the table is loaded, remove 'js-not-loaded' class name from the stats table
Do not specify http: scheme explicitly in the URL

This will automatically use 'http:' or 'https: depending on whether the page is requested securely
(cherry picked from commit 2a8d340989c6a83fb3990feb47d04a089d3c6e3b)
Added logging defaults to the sample config file
(cherry picked from commit 396ee1601931b60d915162cea0bba69ebd85282f)
Fixed typo (use external method in _sum)
Added JS for stats loading
Add progressbar js-based rendering
Move top progressbar to the header
Move 'expand/collapse details' section to the header
Add missing import

(calculate_stats is still used in store.getquickstats)
Adjust styling
Remove units from stats calculation an template

(The number of units is not important given that we display the number of words, which is more accurate)
Remove unused imports (as kindly reported by PyCharm)