Some more small speed tweaks.
Cleanup build_tag_map

Millions of temp variables. Assuming there's only two sorting methods. Grammar.
[show 100 more problems]
Relevance sorting method
Config option for which tags to ignore
Tag Category integration
Polish
Extra-switch fixes

Wrong variable name, and don't do the math unless we have to.
Fixed the diplayed number being wrong.
Also fixed a corner case where number of tags in the cloud equals number to
display. Would display "[show 0 more tags]".
Fix incorrect DataUploadEvent creation, triggering an assertion failure

I guess this one slipped through the cracks when $user was made global.
readdir is not guaranteed to be in order

readdir's ordering is filesystem-dependent. On many systems, that means it
might as well be random. People uploading archives will reasonably expect the
files to appear in alphabetical order, so we should make sure they do.
Merge pull request #326 from Madoushi90/archive_fixes

handle_archive extension fixes
Fix another corner case

If $counter == $def_count and the next tag in the list is a used tag, the
tagcloud_extra div would be printed twice, breaking the list.

This solution feels ugly, perhaps there's a better way to do this?
core-image -> core_image, for elasticsearch's sake
log args
log IDs of things
load thumbnails on demand is more trouble than it's worth
add 'hellbanned' user class, with support from the comments extension
finally got that zero...
add hellban support to PMs
fix being logged in after changing password
unique request ID, for associating several log entries with one request