* detatch from User and Util and move to its own enum class
* added definitions for all locales the 12340 client could in theory have
* this is incompatble with the Intl extension
* version bump and php requirement bump
* fixed misc issues Intellisense was nice enough to highlight.
* mostly deprecated usage of uninitialized parameters
* class GenericPage still needs a long, hard look and a refactor
* be a lot more verbose when errors are occuring (to staff anyway)
* made hardcoded error messages for comments localizable
* add error messages from posting comments to session to be displayed on next page update
* access class property in screenshot/comment-admin by function. Aowow is compatible with PHP 5.5 again
* changed line-endings across the board from \r\n to \n
* moved wt_presets to DB
* scales are now saved sensibly instead of just being dumped as is (also, tables have now constrains)
* added admin=weight-presets to edit presets
* added an internal user on id:0 who 'owns' the wt-presets and the +1 rates on new comments
* consequently added constraints to comment-related tables
Misc:
* Util::toJSON() priorizes its flags over CFG_DEBUG, wich fixes the modelviewer-redButton
* moved terrible javascript-dump from admin-page to template
* fixed typo preventing management of custom weight scales
* added forgotten GET-Parameter to sanitization, preventing rating of comments
* avoid hardcoding locales
* do not show tooltip on BUTTON_WOWHEAD
* separated into appropriate subclasses
* unified sanitizing of $_GET and $_POST data using build in filter_input()
* index now always tries to resolve page calls with ajaxHandler first and as a page last
minor bug-fixes to bugs that wre not reported yet, because they didn't occur yet
(e.g.: nobody tried to compose a comment with >7500 characters yet)