added handling for all standard primitive attributes and related refactoring
added handling for all standard primitive attributes and related refactoring

KhronosGroup/glTF-Sample-Viewer,KhronosGroup/glTF-Sample-Viewer