Implement basic material handling

Presently supports phong shading, specified as separate indexed
materials, per polygon. In other words, it expects exactly what blender
exports, so that should be OK for what we need it to do.