Fix update_qualitychecks (revert c9d5391, 5a1d150)
Don't duplicate code when we can use `get_absolute_url()`
Since the variables hold a jQuery object, prefix them with $
Moved function definition out of init
Add test version of refresh_all_stats command
Add handle_language and handle_project for flush_cache and refresh_stats commands
Implement optimized rest of refresh stats machinary
Set empty cache_values before total stats refreshing
Flush cache of Language or Project without children
Fix wordcount statistic bug
Move refresh_all_stats command to refresh_stats with noargs
`mtime` refers to the submission, not to the unit
Sort 'Last Activity' field according to its `mtime`

Fixes evernote/pootle#27
Cleanup: coding style fixes
`mtime` refers to the submission, not to the unit

Dejá vu of 9ddba4f.
Perform calculations in seconds
Cleanup: removed unused imports
Treat 'Last Activity' column as numeric for sorting purposes

Should have been part of evernote/pootle#27
Automatically sort columns once data has been loaded

Since table contents are now loaded after retrieving data via XHR, it's
necessary to delay the auto-sort feature.

Fixes evernote/pootle#29
Make manange.py aware of FORCE_SCRIPT_NAME