Make it possible to update the materialIndex on a meshFacematerial

This adds a new property 'groupsNeedUpdate'  on geometry to rebuild the geometry groups