Add mesh I/O for .stl, .obj, .ply, and .x3d

Only writing to .x3d is supported for now.