Hats webpage: Many improvements and fixes (2nd try)
* Fix static hats not being animated properly
* Make widges more user-friendly
* Add local mode to hats webpage to make testing easier (IS_LOCAL variable)
* Cleanup code
* Update themes list
* Update list of local hats
[patterns]
**.h = native
**.c = native
**.cpp = native
**.lua = native
**.txt = native
**.pas = native
**.inc = native
**.hs = native