* trim_material and trim_pattern registries are now generated, loaded and sent to the clients
* fixed override_armor_materials
* allowing TrimMaterial and TrimPattern to be created dynamically
* cleanup and formatting
(cherry picked from commit 70e4355ca1)