* TCs guild and arena_team tables as encoded as utf8mb4_general_ci,
which is not accent-aware. So we have to get all results and filter
for the correct one in php.
* fixes an issue where direcly accessing a guild/arena-team whith a name
simiar to an already known guild/team would lookup the wrong subject
on the server and then fail to create a local stub with already existing key.
(Shâdów vs Shadow)
* split global.js into its components, so it can be reasonably processed by setup
* make reputation requirements configurable
* move Markup and Locale back into global.js (removed associated build scripts)
* extend Icon to display iconId in lightbox popup