Loosened res limits of the plane mesh generator, so that it
can be used to generate ribbons. A limit to a total maximum of
16384 vertices is enforced due to the 16bit limitation on
the default index buffer. The plugin now uses less memory since
4 vertices are generated per sub-quad instead of 6. It also means
it renders correctly when rendering as line strips. Furthermore
the generated mesh is properly decorated with values for
vertex_count, stream_count and streams_loaded.
Fixed the vr_sensor_info plugin so that it checks whether
the returned sensor state has position and / or orientation
before attempting to use either one. Return sensible defaults
if the sensor is not currently providing data.