voxel: Fix material table loading

No longer ignore spaces when parsing .json definition
Move json11 to a static library
Fix wrap mode for textures